java - Running servlet at correct location in eclipse? -
i'm using tomcat 7.0 , eclipse kepler. when deploy servlets onto server running @ /<project name>/<servlet name>
when want them run @ /<servlet name>
. how can change this?
you need change context root
name of web application:
- right click on project.
- click on properties.
- choose "web project settings".
- change context root property.
- clean server , restart it.
Comments
Post a Comment