how can i run my helloworld servlet in apache-tomcat-mod_jk?
i can use example servlets in that directory by accessing localhost/examples/servlets
and click links..(but if i type them in browser address bar, they dont' work either..404 not found error)
what setting am i missing?
Servlets in Tomcat
I think that I have a related question - I have my apache/tomcat install working fine but would like to have various compiled servlets live in a directory like ~/webapps/servlets. When I add servlets there they do not work, but they do work if I put them in the ~/examples/WEB-INF/classes and access via /examples/servlets. Do I need to define this new directory so that Tomcat will recognize? Do I have to install and promote each new servlet application to the Tomcat container in something like server.xml?
|All times are GMT -5. The time now is 08:22 AM.|