tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob S." <rsli...@home.com>
Subject RE: Tomcat/4.0-b7: ERROR reading java.io.FileInputStream@2d263f
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


Mime
View raw message