Has anyone gotten Java Servlets to work?

jsteel

Well-Known Member
Jul 4, 2002
646
0
166
Atlanta, GA
I've yet to be able to get servlets to work using the Tomcat install through CPanel. JSPs work fine, but every servlet returns a 404 Error ( 'The requested resource (/servlets/MyServlet) is not available').

Has anyone had any success? What did you do if so?

Thanks.
 

Maximiliam

Well-Known Member
Feb 24, 2002
57
0
306
They work great, the only thing i cant get to work is the mapping feature.

Under your public_html, create a WEB-INF, upload your servlets in there, create a web.xml and configure it.

Then restart Tomcat.

And you will be able to access your servlets with the virtual mapping domain.com/servlet/
 

jsteel

Well-Known Member
Jul 4, 2002
646
0
166
Atlanta, GA
I need to get mapping and auto-reloading working like in JServ. I don't want to have to keep restarting Tomcat everytime someone wants to add a servlet. Anbody?
 

Maximiliam

Well-Known Member
Feb 24, 2002
57
0
306
Thats the pain you have to go thru, unfortunately..

I would like a better system as well..