thanks. I was sure that I had tried that before, but I just tried it again and it worked. Probably made a spelling mistake before.
Cheers, Duncan. "Shapira, Yoav" wrote: > 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:[EMAIL PROTECTED] > >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: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > 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. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]