Thanks for the pointers. 
The problem ended up being that the redirect required not only an
HTTP-StatusCode (301 - Moved permanently) but also a
httpServletResponse.setHeader("Location", "http://newurl";). Without the
header, Mozilla shows the originally requested page which contains a
redirect javascript, whereas Internet Explorer just shows a generic error
page.

/Martin 

Martin Lidgard
Arkatay Consulting
mail://[EMAIL PROTECTED]
http://www.arkatay.com   

-----Ursprungligt meddelande-----
Från: QM [mailto:[EMAIL PROTECTED] 
Skickat: den 18 april 2005 03:33
Till: Tomcat Users List
Ämne: Re: Handling requests for .asp files

On Mon, Apr 18, 2005 at 03:03:45AM +0200, Martin Lidgard wrote:
: I am trying to get Tomcat to respond to requests for files with an ".asp"
: extension in order to let Turbine handle the request and redirect to the
: appropriate Velocity page.
: [snip]
: The problem is that Tomcat does not seem to respond at all to requests for
: urls with ".asp" as an extension.  The extensions ".as" and ".aspp" work
: fine.

How are you mapping the .as and .aspp extensions?  Through a servlet mapping
in yoru webapp's web.xml?

You could also check the global web.xml. That one defines the mapping for
.jsp files; maybe someone at your site put in a mapping for .asp as well...?

Another thought -- do you access Tomcat directly, or do you go through
Apache as an intermediary?


-QM

-- 

software   -- http://www.brandxdev.net/
tech news  -- http://www.RoarNetworX.com/ code scan  --
http://www.JxRef.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to