| View previous topic :: View next topic |
| Author |
Message |
mun Guest
|
Posted: Tue Apr 22, 2008 1:16 pm Post subject: running servlets and/or html from webapps. |
|
|
I am new to Apache (but a verrrry old programmer).
I have a servlet in
c:\apache\webapps\myapp\src\mypackage\servlet1.class, 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/src/mypackage/servlet1.class
http://localhost:8080/myapp/src/mypackage/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 |
|
| Back to top |
|
 |
| |
Ads |
Advertising
Sponsor
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|

80 Attacks blocked
Powered by phpBB © 2001, 2005 phpBB Group
|