I have implemented a jetty-based servlet under eclipse.It runs fine under eclipse. Right now, I need to deploy it as a Web application. I would like to know the procedures of开发者_StackOverflow transplanting these java programs from Eclipse to a real Jetty-based web application. The system is a Linux box. Thanks.
Export your Web Application as a WAR file in Eclipse and copy the WAR to:
/usr/share/jetty/webapps
(or appropiate path on your Linux box)
Restart the Jetty server and voila.
精彩评论