.asp and tomcat 5.5.9

2005-05-12 Thread Trung Nguyen
Hello, Is there a way to configure tomcat 5.5.9 to support .asp extension? Thanks, Trung - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: .asp and tomcat 5.5.9

2005-05-12 Thread Arup Vidyerthy
Subject: .asp and tomcat 5.5.9 Hello, Is there a way to configure tomcat 5.5.9 to support .asp extension? Thanks, Trung - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

RE: .asp and tomcat 5.5.9

2005-05-12 Thread Peter Crowther
From: Trung Nguyen [mailto:[EMAIL PROTECTED] Is there a way to configure tomcat 5.5.9 to support .asp extension? If you mean 'serve static content that has a .asp suffix as MIME type x/y', yes. Configure a MIME-type in Tomcat's conf/web.xml (or your webapp's web.xml) and you're done. If you

RE: .asp and tomcat 5.5.9

2005-05-12 Thread Trung Nguyen
:[EMAIL PROTECTED] Sent: Thursday, May 12, 2005 9:41 AM To: Tomcat Users List Subject: RE: .asp and tomcat 5.5.9 From: Trung Nguyen [mailto:[EMAIL PROTECTED] Is there a way to configure tomcat 5.5.9 to support .asp extension? If you mean 'serve static content that has a .asp suffix as MIME type x

Re: .asp and tomcat 5.5.9

2005-05-12 Thread Charles Harvey III
:36 To: tomcat-user@jakarta.apache.org Subject: .asp and tomcat 5.5.9 Hello, Is there a way to configure tomcat 5.5.9 to support .asp extension? Thanks, Trung - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: .asp and tomcat 5.5.9

2005-05-12 Thread Trung Nguyen
and tomcat 5.5.9 From: Trung Nguyen [mailto:[EMAIL PROTECTED] Is there a way to configure tomcat 5.5.9 to support .asp extension? If you mean 'serve static content that has a .asp suffix as MIME type x/y', yes. Configure a MIME-type in Tomcat's conf/web.xml (or your webapp's web.xml) and you're

RE: .asp and tomcat 5.5.9

2005-05-12 Thread Trung Nguyen
: Thursday, May 12, 2005 9:55 AM To: Tomcat Users List Subject: Re: .asp and tomcat 5.5.9 You can map any .extension to a servlet. It can be .asp, .php, .do, .html or .java. Now, that DOES NOT mean that Tomcat will render an actual .asp page written in VBScript. It just means that you can have people

RE: .asp and tomcat 5.5.9

2005-05-12 Thread Peter Crowther
From: Trung Nguyen [mailto:[EMAIL PROTECTED] What we're trying to do here is one of our client requested to show .asp instead of .jsp I know this is crazy, but I guess they're Microsoft company :) Of course all our files end with .jsp Ah! OK, so what I think you want is to

Re: .asp and tomcat 5.5.9

2005-05-12 Thread David Smith
wanted to have .asp instead of .jsp -Original Message- From: Peter Crowther [mailto:[EMAIL PROTECTED] Sent: Thursday, May 12, 2005 9:41 AM To: Tomcat Users List Subject: RE: .asp and tomcat 5.5.9 From: Trung Nguyen [mailto:[EMAIL PROTECTED] Is there a way to configure tomcat 5.5.9

Re: .asp and tomcat 5.5.9

2005-05-12 Thread Jess Holle
Trung Nguyen wrote: Charlie, Thank you very much for the reply. This is what we want, we just want people think that the site is written in .asp but it is really java. How do I mapy .extension to servlet? You could likely have the files names .jsp and have a filter that forwards all *.asp

Re: .asp and tomcat 5.5.9

2005-05-12 Thread Tim Funk
Harvey III [mailto:[EMAIL PROTECTED] Sent: Thursday, May 12, 2005 9:55 AM To: Tomcat Users List Subject: Re: .asp and tomcat 5.5.9 You can map any .extension to a servlet. It can be .asp, .php, .do, .html or .java. Now, that DOES NOT mean that Tomcat will render an actual .asp page written

RE: .asp and tomcat 5.5.9

2005-05-12 Thread Trung Nguyen
Thanks all of you. I did create a simple context and named all the files with *.asp instead of *.jsp and mapped .asp to servlet. It worked. thanks again, Trung - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: .asp and tomcat 5.5.9

2005-05-12 Thread Will Hartung
From: Trung Nguyen [EMAIL PROTECTED] Sent: Thursday, May 12, 2005 6:56 AM Thanks again. What I'm trying to do is write code in Java and name it .asp because our client wanted to have .asp instead of .jsp :-) Well that certainly can meet the letter of the request, if not the spirit!