tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tan van Nguyen <tan.v.ngu...@tn.stud.his.no>
Subject running servlet on Tomcat
Date Tue, 25 Feb 2003 10:05:10 GMT
Hi, I have a problem about running servlet in Tomcat. My system information:
Apache Tomcat v4.1.18
Java 2 SDK 1.3.1_07

The problem is that I can't run my servlet program placed in ROOT/WEB-INF/classes directory
with the url: http://localhost:8080/servlet/Myprogram 
I have done everything and read a lot of documentation, but still the same error appear: The
404 Error:The requested resource (/servlet/Myprogram) is not available.

But when I place my program source and class files in the webapps/examples/WEB-INF/classes
directory, it ran properly..

It seems like something wrong with the classloader..

I really appriciate your reply!

Thanks in advance!
- Tan Nguyen -


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message