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

Reply via email to