You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Duncan Smith <ds...@deckertelecom.net> on 2003/09/26 16:43:01 UTC

Serving other files as JSPs

Is it possible to serve other files extentions as JSPs?

ie. if I had a file hello.bob, would I be able to run JSP code in it.

I have tried adding and extra <servlet> entry in the web.xml identical
to the JSP one but with a differant name and have also tried ading an
extra <servlet-mapping> for both my <servlet> entry and also for the JSP
servlet entry but the page are being returned to me as text (with the
code still in it).

Any suggestions?