You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Matthew Bunner <Ma...@signal.co.uk> on 2001/05/14 14:13:52 UTC

IIS4, JDK1.3, ISAPI - where's my JSP??!

Hi Everybody!

	This is my first message on the mailing list and searching through
the archives I see similar problems to what I have. I've looked through the
mail archives and although it's very helpful it's not solving my problem -
I'm officially stuck!.

And this is the problem:

I am trying to view my JSP pages under "c:\Inetpub\wwwroot\....", but can't.
This is the example JSP file I'm trying to display under my path:

	<%@page import="java.util.Date"%>
	<html>
	<body>
		The current time is <%= new Date().toString() %>
	</body>
	</html>

All I get is "The current time is" on my web-browser. No java errors
anywhere, just the text. This also applies to other types of JSP files.

I have installed TOMCAT and the isapi_redirect.dll in IIS (green arrow as
expected) as specified in the HOWTO file; I have set up my context in
server.xml with the DOCBASE="c:\Inetpub\wwwroot" and PATH="\wwwroot" and set
up workers.properties with the correct HOME_PATHS and specified
uriworkermap.properties as requested in the HOWTO. I have set CLASSPATH,
JAVA_HOME, TOMCAT_HOME as per instructed.

I can successfully view all JSP examples under the Tomcat /examples/ tree
(and my example JSP file), but all I want is to view noddy JSP pages under
MY path (c:\Inetpub\wwwroot)!!!

Is the approach of using isapi_redirect.all the correct one to get what I
want? Or am I missing something fundamental (I've been doing this for about
3 weeks).

Please help!

Regards

Matt Bunner

PS I'm using:

IIS 4.0
Tomcat 3.2.1
JDK 1.3.0