I don't think u need </jsp:forward>! Also, the '/' at the end of param
name-line might be a cause! Try on and off combination of both!

> -----Original Message-----
> From: Hui Du [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, April 20, 2000 10:24 PM
> To:   [EMAIL PROTECTED]
> Subject:      param not work
>
> Hi,gurus:
>
> I don't know why param don't work here, it said userid is null.
> I am using Javawebserver 2.0(trial version)
>
> aa.jsp
> <HTML><body>
> <jsp:forward page="bb.jsp" >
>    <jsp:param name="userid" value="ggggg9999" />
> </jsp:forward>
> </body></HTML>
>
> bb.jsp
> <html><body>
>
> The greeting :<%= request.getParameter("userid") %>
> </body></html>
>
> Please help
>
> Adam
>
>
>
>
>
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.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