Reply To: Problem with h:inputFile

Splash Forums Rewrite Users Problem with h:inputFile Reply To: Problem with h:inputFile


I think the Tomcat docs don’t say “it is not recommended”, they just say that accessing the mentioned methods from outside a corresponding Servlet is not strictly spec compliant. IMHO this is a huge difference. And from a technical perspective I don’t see any reason why parsing the request a bit earlier during request processing should be a problem.

I’m not sure if there is another way to get Rewrite working well with multipart requests. Rewrite has to access the request parameters for the rewriting and if the container doesn’t allow to access them, there is IMHO nothing that we can do about it.

I recommend to ask how to enable this behavior in the Glassfish forums. I think there will be someone that knows more about these Glassfish internals. Or perhaps file an issue on the issue tracker.

BTW: Here is the original Tomcat issue: