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!

request.setAttribute purpose

795628Apr 10 2008 — edited Apr 10 2008
What is the purpose of the method 'request.setAttribute("name", value)'?

I mean, with 'request.getParameter("name")' you retrieve the parameter from the request, but if you want to put a parameter
in the request, what you have to do? because request.setAttribute seems not to work...

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 8 2008
Added on Apr 10 2008
2 comments
663 views