<jsp:forward page="/nullresults.jsp"/>
<jsp:forward page="nullresults.jsp"/>

I'm not quite sure why you have both of these in your code.  Perhaps one is
a duplicate?
In which case, the problem is probably the terminating '/' in the tags
above.

What you ought to have, I believe, is:

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

-AMT
> -----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 1: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