Re: PLeeeeeeeeeeeeeeeeaseeeeeeeeeeeeeeeeeee help

2001-04-28 Thread Shankar Gowda

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-namejsp/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/



RE: PLeeeeeeeeeeeeeeeeaseeeeeeeeeeeeeeeeeee help

2001-04-27 Thread CPC Livelink Admin


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: PLaseee 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-namejsp/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




Re: PLeeeeeeeeeeeeeeeeaseeeeeeeeeeeeeeeeeee help

2001-04-27 Thread Shelly Dhiman

I tried everything accessing tomcat directly and even with Apache but it
doesn't work. Are you writting the same kind of stuff in web.xml

Thanks 
Shelly

CPC Livelink Admin wrote:
 
 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: PLaseee 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-namejsp/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



RE: PLeeeeeeeeeeeeeeeeaseeeeeeeeeeeeeeeeeee help

2001-04-27 Thread CPC Livelink Admin


Yes, though when I wen to test your problem, I uses pjp as my extention.
Here is the relavant portion of my web.xml :

?xml version=1.0 encoding=ISO-8859-1?
web-app
servlet-mapping
servlet-namejsp/servlet-name
url-pattern*.pjp/url-pattern
/servlet-mapping
8 snip 8

/web-app




-Original Message-
From: Shelly Dhiman [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 8:43 PM
To: [EMAIL PROTECTED]
Subject: Re: PLaseee help


I tried everything accessing tomcat directly and even with Apache but it
doesn't work. Are you writting the same kind of stuff in web.xml

Thanks
Shelly

CPC Livelink Admin wrote:

 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: PLaseee 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-namejsp/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




RE: PLeeeeeeeeeeeeeeeeaseeeeeeeeeeeeeeeeeee help

2001-04-27 Thread Saurabh Shukla

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: PLaseee 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-namejsp/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