I don't know if this will solve your problem, but you don't want the / at
the end of the forward tag that has parameters it wants to set.  Eg...
<jsp:forward page="nullresults.jsp" > <!-- omit the / from the end of this
tag -->
<jsp:param name="exactArtist"
  value= "<%=java.net.URLEncoder.encode(exactArtist))%>"/>
</jsp:forward>

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Stacia Carr
Sent: Friday, March 17, 2000 12:02 PM
To: [EMAIL PROTECTED]
Subject: jsp: root expected


I am getting a parse error when I sue jsp:forward and send a parameter to
the jsp forward page I specify

Here's what my code looks like:

<jsp:forward page="/nullresults.jsp"/>
<jsp:forward page="nullresults.jsp"/>
<jsp:param name="exactArtist"
  value= "<%=java.net.URLEncoder.encode(exactArtist))%>"/>
</jsp:forward>

And here is the parse error:

100: expected `</jsp:root>' at `</jsp:forward>'

Any clues?  Is there a problem with my syntax?

Stacia Carr
Web Production Engineer
listen.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to