Oracle Community Directory
Oracle Community FAQ
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
Java EE (Java Enterprise Edition)
This discussion is archived
on May 25, 2012 3:29 PM by EJP
Why servlet does not support request.setParameter?
May 25, 2012 3:16 PM
I can do request.setAttribute but not request.setParameter in a servlet. Any reason why?
This content has been marked as final.
Show 1 reply
Re: Why servlet does not support request.setParameter?
May 25, 2012 3:29 PM
in response to
Because the request parameters are supposed to come from the client. The entire request is read-only. Request attributes aren't part of the request, they are stuff the servlet adds during processing.