Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

setAttribute with the method sendRedirect

843833Aug 21 2001 — edited Aug 21 2001
Hi ,
I am trying to send Attribute a to a jsp with the method
request.setAttribute(...,..) and using response.sendRedirect("/jsp/index.jsp") method
but it doesn't seem to work

In fact, when i use a requestDispatcher , i can easily setAttribute, but the url is the name of the servlet
and i 'd like to have the name of the jsp in the Address bar, that's why i use sendRedirect !!

is there anybody who have a tip please
thanks to reply

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 18 2001
Added on Aug 21 2001
2 comments
770 views