reiern70 commented on PR #856:
URL: https://github.com/apache/tomcat/pull/856#issuecomment-2890957828

   > > IMHO what is described there is not what we need... because it has the 
same problem we have now.
   > 
   > Which is what, exactly?
   
   You suggested to avoid using multipart... but again. Your servlet is not 
ISOLATED. E.g. in case of Wicket many thing can happen before you arrive to 
parse yourself multipart... E.g. as soon as someone requests parameter value 
Tomcat will fail.
   
   aused by: java.lang.IllegalStateException: Unable to process parts as no 
multi-part configuration has been provided
   at org.apache.catalina.connector.Request.parseParts(Request.java:2446) 
~[catalina.jar:12.0.0-M1-dev]
   at 
org.apache.catalina.connector.Request.doParseParameters(Request.java:2818) 
~[catalina.jar:12.0.0-M1-dev]
   at org.apache.catalina.connector.Request.parseParameters(Request.java:2776) 
~[catalina.jar:12.0.0-M1-dev]
   at 
org.apache.catalina.connector.Request.getParameterNames(Request.java:1092) 
~[catalina.jar:12.0.0-M1-dev]
   at org.apache.catalina.connector.Request.getParameterMap(Request.java:1077) 
~[catalina.jar:12.0.0-M1-dev]
   at 
org.apache.catalina.connector.RequestFacade.getParameterMap(RequestFacade.java:173)
 ~[catalina.jar:12.0.0-M1-dev]
   at 
jakarta.servlet.ServletRequestWrapper.getParameterMap(ServletRequestWrapper.java:168)
 ~[servlet-api.jar:6.2DRAFT]
   at 
org.apache.wicket.protocol.http.servlet.ServletWebRequest.generatePostParameters(ServletWebRequest.java:285)
 ~[wicket-core-10.6.0-SNAPSHOT.jar:10.6.0-SNAPSHOT]
   at 
org.apache.wicket.protocol.http.servlet.ServletWebRequest.getPostRequestParameters(ServletWebRequest.java:335)
 ~[wicket-core-10.6.0-SNAPSHOT.jar:10.6.0-SNAPSHOT]
   at 
org.apache.wicket.protocol.http.servlet.ServletWebRequest$1.getParameterValue(ServletWebRequest.java:363)
 ~[wicket-core-10.6.0-SNAPSHOT.jar:10.6.0-SNAPSHOT]
   at 
org.apache.wicket.request.parameter.CombinedRequestParametersAdapter.getParameterValue(CombinedRequestParametersAdapter.java:70)
 ~[wicket-request-10.6.0-SNAPSHOT.jar:10.6.0-SNAPSHOT]
   
   What I propose here will work (does work as I have our application working 
with these changes).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to