tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob S." <>
Subject RE: Tomcat/4.0-b7: ERROR reading
Date Sat, 18 Aug 2001 12:21:12 GMT
> Ok, that was it. I removed the default mappings from my web.xml and it
> works. Thank you!
> So what if the default mappings in $CATALINA_HOME/conf/web.xml are not
> the ones you want?
> For example, what if you want to map *.jsp to a controller servlet
> instead of the JspServlet?
> Should I modify the $CATALINA_HOME/conf/web.xml or can I override the
> *.jsp mapping in my webapp/WEB-INF/web.xml?

I think the *.jsp mapping should probably be left alone unless you want to
write your own JSP engine, no?  Unless you want to do some preprocessing,
but there's probably a better way than what you're thinking...

- r

View raw message