Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Jetty WTP Plugin/Jetty WTP Modify ContextPath"

m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Jetty}}
 
{{Jetty}}
 +
 +
{{Jetty Deprecated}}
  
 
== Modifying a Context Path ==
 
== Modifying a Context Path ==
Line 25: Line 27:
 
<li>Click '''OK'''.
 
<li>Click '''OK'''.
 
<li>Save the launch and start the server.
 
<li>Save the launch and start the server.
</li> Now you can open the web application at <nowiki> http://localhost;8080/webapp/. </nowiki>
+
</li> Now you can open the web application at <nowiki> http://localhost:8080/webapp/. </nowiki>

Latest revision as of 15:18, 23 April 2013



Warning2.png
Support for this feature has been dropped with Jetty 9.
If you feel this should be brought back please file a bug.


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.

  1. Open the launch and go to the Modules tab.

  2. Jetty-wtp-context1.jpg


  3. Select the mywebapp module and click Edit.
  4. The Edit Web Module dialog box opens.


    Jetty-wtp-context2.jpg


  5. Change the path to /webapp.
  6. Click OK.
  7. Save the launch and start the server.
  8. Now you can open the web application at http://localhost:8080/webapp/.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.