This is a discussion on running servlets and/or html from webapps. within the Windows Web Servers forums, part of the Web Server and Related Forums category; I am new to Apache (but a verrrry old programmer). I have a servlet in c:\apache\webapps\myapp\src\...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am new to Apache (but a verrrry old programmer).
I have a servlet in c:\apache\webapps\myapp\src\mypackage\servlet1.cla ss, put there by ANT I cannot get it to execute. Apache keeps telling me the "requested resource is not available". I have tried ... http://localhost:8080/webapps/myapp/...servlet1.class http://localhost:8080/myapp/src/mypa...servlet1.class with and without the dot-class extension If I use the url http://localhost:8080/webapps/root/index.html I get a 404 If I use the url http://localhost:8080/ I get the contents of c:\apache\webapps\root\index.html It seems as if objects are not accessable as urls when in webapps. I have restarted the apache server after moving files. In the most recent "catalina.log" i have the message ... Apr 22, 2008 5:13:17 AM org.apache.tomcat.util.digester.Digester fatalError Did the digester eat something bad? I have many different books and they all differ as to how I should place my classes Can you help? jim murray |
| Thread Tools | |
| Display Modes | |
|
|