Place your package as such:
ROOT/WEB-INF/classes/servlet/myServlet.class
then access your package http://localhost:8080/servlet/servlet.myServlet
similar to this:
ROOT/WEB-INF/classes/servlet/packageName/classFile
access:
http://hostname/servlet/packageName.servletName
You are alm
> "M. Amin" wrote:
>
> Hi all,
> i have a small question
> I created a servlet class in a pakage com.servlet and i stored it in
> the ROOT directory inside WEB-INF directory as
> com/servlet/myservlet.class with web.xml file and it works fine when i
> call it with URL http:8080//servlet/com.