tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shelly Dhiman <she...@is2inc.com>
Subject Re: AW: PLeeeeeeeeeeeeeeeeaseeeeeeeeeeeeeeeeeee help
Date Mon, 30 Apr 2001 20:46:22 GMT
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:shankar_mbn@yahoo.com]
> Gesendet: Samstag, 28. April 2001 10:38
> An: tomcat-user@jakarta.apache.org
> Betreff: Re: PLeeeeeeeeeeeeeeeeaseeeeeeeeeeeeeeeeeee help
> 
> i want to get to know , the error of it in tomcat
> please send it
> 
> --- Shelly Dhiman <shelly@is2inc.com> 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/

Mime
View raw message