Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Jetty WTP Plugin/Jetty WTP Modify ContextPath"
(New page: {{Jetty}} == 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 t...) |
|||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Jetty}} | {{Jetty}} | ||
− | == | + | {{Jetty Deprecated}} |
+ | |||
+ | == 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. | ||
+ | <ol> | ||
+ | <li>Open the launch and go to the Modules tab. | ||
+ | </li> | ||
+ | |||
− | |||
[[Image:Jetty-wtp-context1.jpg]] | [[Image:Jetty-wtp-context1.jpg]] | ||
− | + | ||
+ | |||
+ | <li>Select the '''mywebapp''' module and click '''Edit'''. | ||
+ | </li>The Edit Web Module dialog box opens. | ||
+ | |||
Line 13: | Line 24: | ||
− | Save the launch | + | <li>Change the path to''' /webapp'''. |
+ | <li>Click '''OK'''. | ||
+ | <li>Save the launch and start the server. | ||
+ | </li> Now you can open the web application at <nowiki> http://localhost:8080/webapp/. </nowiki> |
Latest revision as of 15:18, 23 April 2013
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.