0

Hello,

i tried too long so i describe my problem here. im really desprate.

I want to link from JSP1.jsp to JSP2.jsp with a simple <a href=...> statement This link should also have an identification number.

this is my JSP1.jsp:

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Roar Application</title>
</head>
<body>

<A HREF="JSP2.jsp&id=1"> &lt;&lt;new&gt;&gt;</A> 

</body>
</html>

It should look something like this.

My severe problem is that after clicking this link i get a 404-Page not found. If i modify the link to:

<A HREF="JSP2.jsp&id=1"> &lt;&lt;new&gt;&gt;</A>

.
The link works fine. What could be the problem here? I saw at least 1 million examples on the web, were this is working?!?! I dont understand this. Help would be greatly appreciated.

So long

P.S. i use GlassFish-Tools-Bundle-For-Eclipse-1.2 & Glassfish App server

Edited by schender: I forgot

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by javaAddict
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.