Hi everyone,
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.
The parameter I'm looking for is stored in the input stream, I've actually iterated through the request inputstream and found the value there, but it's not in the request parameters. To confirm that it's not in there, I've iterated through the request.getParameters() Enumerable.
The input control is a dropdown list on a
jsp page. Every time the user changes the selection in that dropdown list the page executes a post back to retrieve the new data to display.
We use Spring security and other Spring features in what I'll call our "Front" web application. The web app is actually more of a multi-tier app when that specific page is reached, because every time the value gets changed in the dropdown list, we really intercept the request in our Front web app and transfer the request to another web farm to get the response object back, well formatted with the appropriate data. In some ways the "Front" web app is behaving like a proxy.
I tried to read the input stream to extract that value, but it messes up the request being proxied to the other web farm. It looks like the input stream cannot be opened anymore after that.
Anyone would have any idea on how to proceed on that one?
Thanks,
Yann