Information Services Talk
Information Services Talk
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

running servlets and/or html from webapps.

 
Post new topic   Reply to topic    Information Services Talk Forum Index -> Information Services Talk
View previous topic :: View next topic  
Author Message
mun
Guest





PostPosted: Tue Apr 22, 2008 1:16 pm    Post subject: running servlets and/or html from webapps. Reply with quote

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


Display posts from previous:   
Post new topic   Reply to topic    Information Services Talk Forum Index -> Information Services Talk All times are GMT
Page 1 of 1

 
Jump to:  
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



Board Security

80 Attacks blocked

Powered by phpBB © 2001, 2005 phpBB Group