June 14th, 2001, 06:27 AM
Promblems with Tomcat on NT4
I have (small?) problem with getting Tomcat to work the way I want on NT4. I followed the instructions in "Slapping Together A JSP Development Environment".
The problem is this, when I try do surf to http://localhost/test.jsp (wich is directly under the "Apache-root), or any subfolder, I get this error message:
Not Found (404)
Original request: /test.jsp
Not found request: /test.jsp
But if I rename the file to test.html I donīt get the 404-error. The only place it seems that I can use jsp-files is under Tomcats-folder. (http://localhost/examples and so on)
Is it supposed to be like this? Or should you be able to use jsp-files anywhere on the webserver (like with for example PHP)?
June 14th, 2001, 01:17 PM
Have you modified the Server.xml from the Tomcat/conf directory?
You need to specify something like:
<Context path="" docBase="c:/pathToYourRootDir" debug="0"/>
Something like when adding a new VirtualHost to Apache
You will probably have to modify the Apache's httpd.conf and
Windows's hosts file