Hello,

 Could someone help me understand the following  situation?

 I have two Actions (s1 and s2) and one jsp (j1).
 If I do this in in j1:

 request.setAttribute("str1", "Hello");
 then i use mapping.findForward to s1:


 In s1 I do this:
 request.setAttribute("str1", "So Long");
 then mapping.findForward  to s2:

 Now I do this:
 String str = request.getAttribute("str1");

 str now contains "Hello" not "So Long".


Also I am setting Redirect="false" in all forwards.
Same thing works if I set Redirect="true" ie response.sendRedirect and not
RequestDispatcher redirect

 Is the request suppose to allow me to change it  after I forward?
 Or am I not allowed to change  stuff already bound to the request, but I
can  bind new stuff?

 Thanks for any insight.

Regards,
Devendra





This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you have
received it in error, please notify the sender immediately and delete the
original.  Any other use of the email by you is prohibited.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to