How to stop Spring MVC blocking all other Servlets?

Posted by Dag on Stack Overflow See other posts from Stack Overflow or by Dag
Published on 2010-06-10T09:21:19Z Indexed on 2010/06/10 9:22 UTC
Read the original article Hit count: 388

Filed under:
|
|
|

Hi, I'm using Spring 2.5 MVC and wan't to add another third-party Servlet. The Problem is, that Spring MVC catches all request, so the Servlet isn't getting any request. Here a web.xml Snippet:

SpringMVC org.springframework.web.servlet.DispatcherServlet 2

<servlet-mapping>
<servlet-name>SpringMVC</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>  

<servlet>

This is the servlet needed for cache.type servlet, returns the packed resources PackServlet PackServlet net.sf.packtag.servlet.PackServlet

PackServlet *.pack

The /* mapping is really needed for the application, an pack:tag (the third-party Servlet) really need the mapping based on the file extension. Any possiblities to tell Spring not to process the request? Thanks and regards.

© Stack Overflow or respective owner

Related posts about java

Related posts about spring