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"
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Roar Application</title>

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


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