Sorry for beginner's questions but I wonder how can I set the root servlet in Tomcat 6? For example I want to access my servlet on
localhost:8080
, not on
localhost:8080/myservlet
Thanks!
deploy an web app with context root /
and set servlet-mapping in web.xml as
<servlet-mapping>
..
<url-pattern>/</url-pattern>
</servlet-mapping>