tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Nikander <rob.nikan...@gmail.com>
Subject add mapping for jsp servlet in web.xml?
Date Sat, 01 Oct 2016 12:59:34 GMT
Hi,

I’m upgrading from Tomcat 6 to Tomcat 8. The web.xml has a mapping like this, to use the
jsp servlet for all files in a certain directory:

    <servlet-mapping>
       <servlet-name>jsp</servlet-name>
       <url-pattern>/some-stuff/*</url-pattern>
    </servlet-mapping> 

In Tomcat 6 this worked, but in 8, this *replaces* the existing mapping from the default web.xml
(so .jsp files don’t work).

Is there way a simple way to add the mapping, rather than replace existing mappings?

thanks,
Rob    
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message