I just tried this on 3.2.1 and it worked for me. Are you accessing tomcat
directly, or through IIS or Apache - If one of the latter, then you may need
to specify the mappings for the new extention through the redirector.


-----Original Message-----
From: Shelly Dhiman [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 8:21 PM
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

Reply via email to