Jetty WTP Plugin/Jetty WTP Modify ContextPath

From Eclipsepedia

< Jetty WTP Plugin
Revision as of 13:44, 17 November 2010 by Jesse.mcconnell.gmail.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



How to Modify Context Path?

When WTP Dynamic Web Project mywebapp was created, teh context path used is teh name of this project (mywebapp). But it's possible to change the contextPath name. To do that, open the launch and go at Modules tab. Select the mywebapp module and click on Edit button :

Jetty-wtp-context1.jpg

Change path with webapp :


Jetty-wtp-context2.jpg


Save the launch, start the server and now you can go at http://localhost:8080/webapp/