Jetty WTP Plugin/Jetty WTP Modify ContextPath

Modifying a Context Path

When the WTP Dynamic Web Project mywebapp was created, the context path used the name of this project (mywebapp). It is possible to change the contextPath name. To change a contextPath name, complete the following steps.

Open the launch and go to the Modules tab.

Select the mywebapp module and click Edit.

The Edit Web Module dialog box opens.

Change the path to /webapp.

Click OK.

Save the launch and start the server.

Now you can open the web application at http://localhost:8080/webapp/.