You know what, appending the parameters after the URL is exactly what the jsp or its
servlet count part is doing when it is passing a parameter. So, I guess you have to do
it the same way for now.
Sushil Singh wrote:
> Thanks for your reply.
>
> Is it compulsory to retrive the parameter by getAttribute only (in redirected page).
> Can we use the normal way getParameter() in the redirected page?
>
> Liu wrote:
>
> > Try request.setAttribute("name","value"); in your sending page,
> > Then try request.getAttribute("name"); in your redirected page.
> >
> > yi
> >
> > > Hi,
> > >
> > > I am having a typical requirement- one JSP recieves form data,
> > > before passing control to another servlet, I just want to add new
> > > parameter to the request.
> > > reponse.sendRedirect(request, response);
> > >
> > > Is it possible to change the parameters or add new parameters before
> > > redirecting to another servlet using sendRirect().
> > >
> > > Thanks in advance.
> > >
> > > Sushil
> > >
> > > ===========================================================================
> > > 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
> >
> > --
> >
> > Best Regards,
> >
> > Yi Liu
> > Java Programmer
> >
> > --
> >
> > Invisible.Ink Corporation
> > 1400 Old Country Road Suite 408
> > Westbury, NY 11590
> > Phone: (516) 338 - 5283 Ext.148
> > Fax: (516) 876 - 8032
> >
> > ===========================================================================
> > 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
--
Best Regards,
Yi Liu
Java Programmer
--
Invisible.Ink Corporation
1400 Old Country Road Suite 408
Westbury, NY 11590
Phone: (516) 338 - 5283 Ext.148
Fax: (516) 876 - 8032
===========================================================================
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