yann luppo wrote:I'm having a small issue trying to grab a parameter value from a request. I thought it would just as easy as doing request.getParameter("parameter"); but it isn't in this case.
Bear Bibeault wrote:
yann luppo wrote:I'm having a small issue trying to grab a parameter value from a request. I thought it would just as easy as doing request.getParameter("parameter"); but it isn't in this case.
Actually, it is that easy unless you've mucked around with the form's enctype (usually done to allow file uploading as a multi-part request).
You shouldn't have to screw around with the input stream yourself. Is there some aspect of this that you are leaving out?
The only way to make your dream come true is to wake up.
Ashwin Pai wrote:Yes the content type is correct.. By the way the the list is single select (dropdown) and not multiselect .. correct?
Ashwin
Bear Bibeault wrote:The enctype of the form, if specified, is of interest.
Gamini Sirisena wrote:Hi Yann and all,
Just a silly suggestion. I did read that you read the InputStream, but, you have verified the parameter name is given for the name attribute of the control?
Bauke Scholtz wrote:In the inputstream of the request or with some http request debugging tool in the webbrowser.
Bauke Scholtz wrote:With the inputstream of the request I mean the request body, not the request headers.
Consider Paul's rocket mass heater. |