Hi all:

I got it. I was actually modifying the global web.xml and that doesn't
work. But when i made same changes to the application's web.xml, it
worked. And i didn't even have to wite any code for mime-mapping

Just did
<servlet-mapping>
> > <servlet-name>jsp</servlet-name>
> > <url-pattern>*.phj</url-pattern>
> > </servlet-mapping>
> >

and it worked

Thanks all
Shelly

Robert Wohlgemuth wrote:
> 
> Hi Shelly,
> 
> I'm new to tomcat put I think that in the file
> <tomcat-home>/conf/uriworkermap.properties you can specify which files
> should be handled by which worker.
> 
> Best regards,
>         robert
> 
> -----Ursprungliche Nachricht-----
> Von: Shankar Gowda [mailto:[EMAIL PROTECTED]]
> Gesendet: Samstag, 28. April 2001 10:38
> An: [EMAIL PROTECTED]
> Betreff: Re: PLeeeeeeeeeeeeeeeeaseeeeeeeeeeeeeeeeeee help
> 
> i want to get to know , the error of it in tomcat
> please send it
> 
> --- Shelly Dhiman <[EMAIL PROTECTED]> wrote:
> > 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
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/

Reply via email to