hi,
It might be problem with HTML field name and bean's name( her userid )
synchronization .
suresh
> -----Original Message-----
> From: Visakh Menon [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, April 19, 2000 11:56 PM
> To: [EMAIL PROTECTED]
> Subject: Re: jsp to jsp
>
> I think you don't need to give the userid with the URL. you can pass it as
> a
> parameter when you call aaa.jsp. its the request to the aaa.jsp that's
> going
> to be forwarded to bbb.jsp.
> ie, in aaa.jsp :
> <jsp:forward page="bbb.jsp"/>
>
> and you invoke aaa.jsp as http://servername/jsp/aaa.jsp?userid=100099
>
> As per JSP Specs, you can give parameter values using <jsp:param> also.
>
> <jsp:forward page="bbb.jsp">
> <jsp:param name="userid" value="adam"/>
> </jsp:forward>
>
> (Refer JSP 1.1 Specs under 2.13.5)
>
> but I couldn't access these params in bbb.jsp. Its always returning null.
> Anybody's got any clue ?
>
> Vis..
>
> >
> >I have problems when I forward userid from aaa.jsp to bbb.jsp.
> >aaa.jsp
> ><HTML>
> ><BODY>
> ><%
> >String userid = "100099";%>
> ><jsp:forward page="tmp.jsp?userid="userid>
> ></BODY></HTML>
> >
> >bbb.jsp
> ><html>
> ><body>
> ><%
> >out.println("userid in bbb.jsp:"+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
>
> ______________________________________________________
> 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