You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by "Rob S." <rs...@home.com> on 2000/07/20 08:33:04 UTC

RE: handling multiple extension of jsp files

> Hi ,
>     I'm new to this news group, so if the same question was asked earlier
> pl. forgive me.I'm using the jsp file that is running under Apache-tomcat
> combination.When i load the jsp file from browser with extension
> other than
> .jsp(i.e .JSP,.JsP etc), it loads the jsp source code. So i tried
> to add the
> following lines in tomcat.conf
> AddType test/jsp .JSP
> AddHandler jserv-servlet .JSP
>
> but it didn't work. Is there any work around for this problem.
> i'm using tomcat 3.1 with apche on windows NT.

I had this problem when I had my DocumentRoot set to the same as my docBase.
Maybe give it a shot?

- r