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 13: | Line 13: | ||
− | + | [[Image:Jetty-wtp-external1.jpg]] | |
+ | |||
+ | |||
<li>unzip <tt>test.war</tt> in D:\tmp : | <li>unzip <tt>test.war</tt> in D:\tmp : | ||
Line 24: | Line 26: | ||
<li>To open the launch, in the Modules tab, click '''Add External Web Module'''. | <li>To open the launch, in the Modules tab, click '''Add External Web Module'''. | ||
− | </li> | + | </li>The Add Module dialog box opens. |
Revision as of 17:17, 18 November 2010
Using an External Web Application
Sometimes it can be useful to use a web application that you created by other means than 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 :
- To open the launch, in the Modules tab, click Add External Web Module. The Add Module dialog box opens.
- document base : D:\tmp\test
- Path : /test (it's the context path)
Fill the dialog like this :
Click on OK button, test module must appear :
If you go at http://localhost:8080/test/ This page show you Jetty home test war :