Thanks for replay.
I'm using Apache3.12 + Tomcat3.12 on Redhat6.1.
----- Original Message -----
From: "Kevin Jones" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 29, 2001 7:21 PM
Subject: Re: pass parameters to other jsp file
> response.redirect and <jsp:forward ... > DO NOT do the same thing.
> response.redirect involves a roundtrip back to the client.
>
> Shao, which JSP server are you using?
>
> Kevin Jones
> DevelopMentor
> www.develop.com
>
> > -----Original Message-----
> > From: A mailing list about Java Server Pages specification and reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Malik Himanshu
> > Sent: 29 January 2001 04:26
> > To: [EMAIL PROTECTED]
> > Subject: Re: pass parameters to other jsp file
> >
> >
> > Try this out!
> >
> > response.redirect("aaa.jsp?name1="+value1+"&name2="+value2)
> >
> > --- Shao <[EMAIL PROTECTED]> wrote:
> > > Hello
> > >
> > > I passed parameters to other jsp file like this:
> > > <jsp:forward page="aaa.jsp" />
> > > <jsp:param name="name1" value="value1" />
> > > <jsp:param name="name2" value="value2" />
> > > </jsp:forward>
> > > but in aaa.jsp, the value of both name1 and name2
> > > were null:
> > > str1 = request.getParameter("name1");
> > > str2 = request.getParameter("name2");
> > > str1 and str2 equal "null", that's why? Thank you...
> > >
> > > Regards
> > > plex
> > >
> > >
> > ==================================================================
> > =========
> > > To unsubscribe: mailto [EMAIL PROTECTED] with
> > > body: "signoff JSP-INTEREST".
> > > For digest: mailto [EMAIL PROTECTED] with body:
> > > "set JSP-INTEREST DIGEST".
> > > 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
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Auctions - Buy the things you want at great prices.
> > http://auctions.yahoo.com/
> >
> > ==================================================================
> > =========
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set
> > JSP-INTEREST DIGEST".
> > 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".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> 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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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