On 20/01/2011 22:10, Christopher Schultz wrote:
> All,
> 
> I'm working on a patch for allowing multipart parsing when a servlet
> doesn't have the @MultipartConfig annotation but I'm having trouble
> testing the case where the servlet *does* have the annotation.

And the winner is...

> 2. Tomcat doesn't scan for @MultipartConfig when programmatically
> registering servlets (does it?)

at least not when using the embedded interface like that it doesn't.

You need to do something like:

Wrapper w = Tomcat.addServlet(...)
w.setsetMultipartConfigElement(...)

Mark

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

Reply via email to