|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Promblems with Tomcat on NT4
Hi!
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 URL (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. (URL 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)? /Dofilus |
|
#2
|
|||
|
|||
|
Have you modified the Server.xml from the Tomcat/conf directory?
You need to specify something like: <Host name="yourdomain.com"> <Context path="" docBase="c:/pathToYourRootDir" debug="0"/> </Host> 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 Peter |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Promblems with Tomcat on NT4 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|