> 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 continue writing your pages as
Java Server Pages, but to rename them <filename>.asp instead of
<filename>.jsp, and for Tomcat to process <filename>.asp as a Java
Server Page?  I.e. this is purely eye candy for any user who reads too
much into a 'asp' suffix.

Am I correct here?  If so, look in Tomcat's conf/web.xml, find the
servlet-mapping that maps *.jsp to the JSP servlet, and add a mapping
for *.asp.  Then try it.

If I'm not correct and your client genuinely wants to run MS-style ASPs,
buy and run a Windows server!  The TCO will almost certainly be lower
than you putting the effort into finding an alternative solution, then
maintaining that solution.

                - Peter

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

Reply via email to