[ https://issues.apache.org/jira/browse/WICKET-3406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994341#comment-12994341 ]
Martin Grigorov commented on WICKET-3406: ----------------------------------------- Please create a quickstart against 1.5-SNAPSHOT that reproduces the problem and attach it to this ticket. > Invoking getParameter() on HttpServletRequest throws IllegalStateException > -------------------------------------------------------------------------- > > Key: WICKET-3406 > URL: https://issues.apache.org/jira/browse/WICKET-3406 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 1.5-RC1 > Reporter: todd wolff > Assignee: Igor Vaynberg > > ServletWebRequest reads the post parameters from entity body rather than > using getParameterMap and/or getParamteterNames method as indicated by > ServletAPI: > "If the parameter data was sent in the request body, such as occurs with an > HTTP POST request, then reading the body directly via getInputStream() or > getReader() can interfere with the execution of this method." > IMO, trying to distinguish the get (query) parameters from the post > parameters in the new Wicket request API is problematic. The servlet API > does not differentiate in terms of the parameter's source and programmers are > therefore not inclined to handle them differently. Within Wicket 1.4..x, the > PageParameters object passed to a page's constructor contained parameters > from both sources, now it no longer does, which will require that the user > handle posted parameters separately - which is confusing. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira