开发者

How to deploy Jetty-based web application

开发者 https://www.devze.com 2023-03-08 13:22 出处:网络
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 trans

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号