yeah u need to add something like this to the web.xml.
<mime-mapping>
<extension>
phj
</extension>
<mime-type>
text/html
</mime-type>
</mime-mapping>
-----Original Message-----
From: Shelly Dhiman [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 28, 2001 5:51 AM
To: [EMAIL PROTECTED]
Subject: PLeeeeeeeeeeeeeeeeaseeeeeeeeeeeeeeeeeee help
Hi:
I want to know in tomcat is it possible to treat any other file
extension as jsp.
I saved a .jsp file as .phj and i hace done the servlet mapping in
web.xml
like
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.phj</url-pattern>
</servlet-mapping>
BUt when i try to open that page using browser it shows me text of that
phj file.
Do i have to do a mime-mapping, if yes then how
Any help on this would be appreciated.
Thanks
Shelly