Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sendRedirect Method

 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

While redirecting the request through sendRedirect method , is there is any way to preserve the parameters attributes passed to the request to access them in the Redirected servlet. I try to access the request parameters in redirected servlet, but it return null. But the session is preserved when redirected to the servlet in same application.

What is passed to the redirected servlet. I think the new request and response objects are created for the redirected servlet.

any gess

thanks
 
Vengan Krish
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the section SRV.8.4.2 in the servlet spec.

Regards
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic