what is the url you're using trying to access the servlet?
I called my servlet with this url
host represent my host
context represent my context( war file's name)
MyClass represent my servlet
Is there any mistake ?
thank you for your favor and your attention
The anonymous servlet mapping addressed by the Tomcat invoker has been disabled due to possible security issues - starting from 4.1.12. An article detailing this is covered here. http://www.fawcette.com/javapro/2002_11/online/servletsjsp_bkurniawan_11_08_02/default_pf.asp
I think it would be better practice to explicitly map your servlet classes to a known URL for your application - by using the application's web.xml configuration. However, if you wish to, you can enable the old invoker operation by following the article instructions.