tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Willis" <keithwil...@hotmail.com>
Subject Re: Tomcat/IIS 5.0 & ISAPI REDIRECTOR
Date Thu, 01 Jan 1970 00:00:00 GMT
Hi,

I have been fighting this also.  I have not been able to solve it either.  I 
put the following in my server.xml file...

         <Context path="/"
                  docBase="D:\www"
                  crossContext="false"
                  debug="0"
                  reloadable="true" >
         </Context>

I am using the assumption that if you put "/" it refers to the 
http://localhost URL.  In the examples in the server.xml file, it was using 
relative paths...  Is there a problem if I put in an absolute path?

It will bring up the jsp file when I type http://localhost/HelloWorld.jsp 
but it will not execute the server side script.

I would appreciate any help with this.

Thanks in advance,

Keith

----Original Message Follows----
From: Mike Spisak <bud@pb.net>
Reply-To: tomcat-user@jakarta.apache.org
To: tomcat-user@jakarta.apache.org
Subject: Re: Tomcat/IIS 5.0 & ISAPI REDIRECTOR
Date: Wed, 09 May 2001 23:58:27 -0400

Hamant-

I believe if you are not using the default directory setup
(<tomcat_home>/webapps/ROOT, etc.) then you must define the context in the
server.xml file (located in the conf directory) Like so:

         <Context path="/<your URL path>"
                  docBase="<Your Path (inetPub)>"
                  crossContext="false"
                  debug="0"
                  reloadable="true" >
         </Context>

Hope this helps..

mike-

|  m i k e  |

At 01:38 PM 5/10/2001 +1000, you wrote:
>Hello
>
>I have a problem with getting my own jsp's located under 
>c:/inetpub/wwwroot/
>to work.
>
>I have managed to get IIS 5.0 to serve the JSP examples.
>
>I have added a context to :
>
>uriwokermap.properties
>
>
>for my own files which are sitting under the Jakarta
>directory and this works fine.
>
>How can I get JSP files located under c:/inetpub/wwwroot/ to work ?
>
>I suspect I may have to add another context , but adding:
>
>c:/inetpub/wwwroot/
>
>to the uriworkermap.properties file does not work.
>
>Can anyone help ?
>
>
>Many thanks
>
>Hamant


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


Mime
View raw message