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 External WebApp"
m |
m |
||
Line 27: | Line 27: | ||
− | <li>Navigate to the Modules tab of your Jetty server, in this case ''Jetty v7.0 Server | + | <li>Navigate to the Modules tab of your Jetty server, in this case ''Jetty v7.0 Server at localhost''. |
</li> | </li> | ||
Revision as of 17:43, 18 November 2010
Using an External Web Application
Sometimes you want to use a web application that you created by other means than generating a Dynamic WEB Project (for example, by using Ant).
For instance, the Jetty7 distribution provides a test.war which shows you the features of Jetty 7 (WebSocket..). Here we use this WAR without creating a Dynamlc Web Project to start it.
- Copy test.war from D:\Servers\jetty-distribution-7.1.6.v20100715\webapps.
- unzip test.war in D:\tmp :
- Navigate to the Modules tab of your Jetty server, in this case Jetty v7.0 Server at localhost.
- Click Add External Web Module. The Add Module dialog box opens.
- In the Document base field, enter D:\tmp\test
- For the Path, enter /test (this is the context path)
- Click OK. The test module is now in the Web Modules list.
The page http://localhost:8080/test/ now shows you Jetty home test WAR: