views:

102

answers:

1

Hi,

Im setting a number of params in a URL (page.jsp?param1=value&param2=value2). When the url is requested it passes control to a Controller class, extending AbstractConrtoller , which overrides handleRenderRequestInternal to do my logic. Inside here i try to retrieve the request attributes using request.getAttribute and getParameter however neither return a value.

Any ideas how i can access the params?

Do i need to get an instance of the HttpSession and then make the lookup?

A: 

The problem could be due to a redirected request (forward and include won't change the parameter). A multi-part request (i.e. file upload request) would be without parameters in the request, too.

Request parameter will not end up in the Session.

Thomas Jung