tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Serving other files as JSPs
Date Fri, 26 Sep 2003 14:54:35 GMT

Howdy,
All you should add is another servlet-mapping tag for the JSP servlet
with the extension of the files you want (e.g. *.bob).

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Duncan Smith [mailto:dsmith@deckertelecom.net]
>Sent: Friday, September 26, 2003 10:43 AM
>To: Tomcat Users List
>Subject: 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?
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


Mime
View raw message