| Author |
My web.xml is good?, why no run my servlets into folder /servlets/ ???
|
Gabriel Pinares
Greenhorn
Joined: Mar 11, 2008
Posts: 12
|
|
Hi.
This is my server.xml
<Host name="web.com" appBase="/home/user/public_html/servlets">
<Alias>www.web.com</Alias>
<Context path="/servlets" reloadable="true" docBase="/home/user/public_html/servlets" debug="1"/>
<Context path="/manager" debug="0" privileged="true" docBase="/usr/local/jakarta/tomcat/server/webapps/manager">
</Context>
</Host>
And yes!,
TOMCAT run the DEPLOY, but FOREVER 404,
only when I change
JkMount /servlets/* ajp13
By
JkMount /* ajp13
into [connector.conf] run fine; but I need RUN FINE INTO dir
/servlets/
Is impossible ?
|
 |
Sonia Rana
Greenhorn
Joined: Mar 05, 2012
Posts: 2
|
|
Hi,
try to change host as:
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
then deploy your war file to webapps folder and try to access your servlet on http://localhost:8080/Servlet_URL_pattern
and see whether its working by that way or not...
|
 |
 |
|
|
subject: My web.xml is good?, why no run my servlets into folder /servlets/ ???
|
|
|