Try this:
<jsp:forward page="MyJSP.jsp">
<jsp:param name="param1" value="12" />
</jsp:forward>
Have a good day.
>From: Shannon Moschetti <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: sendRedirect or forward?
>Date: Tue, 14 Mar 2000 10:43:38 -0700
>
>I've been using sendRedirects because I'm not certain how to send parameter
>information with jsp:forward. If I wanted to do something like:
>response.sendRedirect("MyJSP.jsp?param1=23") how would I do this with
>forward? It doesn't seem to work when I do the following: <jsp:forward
>page="MyJSP.jsp?param1=23" />. When I try to get param1, I get a null.
>
>-----Original Message-----
>From: A mailing list about Java Server Pages specification and reference
>[mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Jones
>Sent: Saturday, March 11, 2000 12:57 PM
>To: [EMAIL PROTECTED]
>Subject: Re: sendRedirect or forward?
>
>
>sendRedirect causes a round-trip to the browser and back, and round-trips
>are evil.
>
>You'll nearly always prefer forwards (or includes) over re-directs.
>
>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 Kevin Duffey
> > Sent: 10 March 2000 07:03
> > To: [EMAIL PROTECTED]
> > Subject: sendRedirect or forward?
> >
> >
> > Hi,
> >
> > I am curious, using JSP and all..is it better to FORWARD to
> > another page, or
> > use the response.sendRedirect(). I notice a strange side effect
> > in using the
> > forward in that the URL of the browser no longer reflects the
> > page returned
> > when using forward. Doesn't seem to be a big deal to me, and I now its
> > faster to return a page, then round-robin to the browser and back
> > again. Is
> > there any way to maybe update the URL of the browser to show the new
>page?
> > Or is this the norm when forwarding? I was curious how Model 2 JSP
> > developers handle this situation, as they probably forward to a
> > page rather
> > than redirect.
> >
> > Am I correct in that forwarding is a performance enhancement because it
> > saves the client from hitting the server twice? Also, could this be the
> > reason Netscape sends TWO forms (submits) often, rather than
> > one..or is that
> > a Netscape bug others have seen? Odd that When people submit a form with
> > MSIE, its fine, but Netscape seems to submit the form twice.
> >
> > Thanks.
> >
> > ==================================================================
> > =========
> > 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
>
>===========================================================================
>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