Re: Customize URL access

2011-03-31 Thread Fahmi Hachicha
this servlet.maiservlet means that the class maiservlet.java must be in the package servlet. Otherwise, you indicate the path of the class maiservlet.class in a package manner. Fahmi 2011/3/31 Jonatan Aguirre Kobayashi > Fahmi, when i access to http://localhost:8080/myapp/maiservlet tomcat > d

Re: Customize URL access

2011-03-31 Thread Jonatan Aguirre Kobayashi
Fahmi, when i access to http://localhost:8080/myapp/maiservlet tomcat display this error: java.lang.ClassNotFoundException: servlet.maiservlet I have Tomcat 7.0.8. 2011/3/31 Fahmi Hachicha > Hello, > > You can map the sevlet in this manner in your web.xml > > >maiservlet >servlet.mai

Re: Customize URL access

2011-03-31 Thread Fahmi Hachicha
Hello, You can map the sevlet in this manner in your web.xml maiservlet servlet.maiservlet maiservlet /maiservlet Good lack Fahmi 2011/3/31 Justin Randall > Read up on web.xml and using Serlvet mappings to define paths that map to > the Servlet class itself. > >

Re: Customize URL access

2011-03-31 Thread Justin Randall
Read up on web.xml and using Serlvet mappings to define paths that map to the Servlet class itself. It looks like you're currently using direct servlet invocation. --Original Message-- From: Jonatan Aguirre Kobayashi To: users@tomcat.apache.org ReplyTo: Tomcat Users List Subject: Customi