Hamant / Keith -
I tried to do what I believe you are asking and I got it to work.. Here is
the process I followed:
My server.xml file has lines that looks like this (as I stated in my
previous note):
<Context path="/"
docBase="/Inetpub/wwwroot"
crossContext="false"
debug="0"
reloadable="true" >
</Context>
Note: there is no "C:\" replaced by "/"
Then I added this line to my: conf/uriworkermap.properties file:
/*.jsp=ajp12
Then I restarted my IIS and tomcat services.. and I was able to hit:
http://127.0.0.1/helloWorld.jsp
I hope this helps...
mike
| m i k e |
At 02:40 PM 5/10/2001 +0000, you wrote:
Mike,
Thanks for posting this. I have been looking for it.
I have one question though...
on this line of code... <Context path="/<your URL path>"
If I want the root directory would I use... <Context path="/" ?
Thanks,
Keith Willis
----Original Message Follows----
From: Mike Spisak <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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