hello all,
I have made a simple servlet (HelloWorldServlet2) and added it on my WEB-INF/Classes context. When I try to execute it using the url below:
 
 
i received "not found (404)" error. I tried also:
 
but I continue to receiving the same error.
My tomcat installation is ok, cos i get to execute the examples servlet files and others.
 
 
I have added these lines in the server.xml file

<Context path="/mycontext"
docBase="webapps/mycontext"
debug="0"
reloadable="true" >
</Context>

and updated these lines in the tomcat.conf  (only more a trying... )

############################## Context mapping - you need to "deploy"
# ( copy or ln -s ) the context into htdocs
##

ApJservMount /mycontext/servlet /root
<Location /mycontext/WEB-INF/ >
AllowOverride None
deny from all
</Location>

thanks in advance.

 

Reply via email to