开发者

Deployment of Web Application with ECLIPSE

开发者 https://www.devze.com 2022-12-30 01:34 出处:网络
I have developped a web dynamic application using JSP and servlet and I want to deploy it. How to do it with eclipse.

I have developped a web dynamic application using JSP and servlet and I want to deploy it. How to do it with eclipse. h开发者_运维技巧ow to do to launch the application. Thanks for help.


Try Tomcat to deploy your application. You can easily integrate Tomcat into the Eclipse. http://www.eclipsetotale.com/tomcatPlugin.html

Alternatively, instead of plugin, you can add the server into the Eclipse. Ctrl -N > Server > Select Tomcat Server adapter

If you've developed your application as 'Dynamic Web Project' in Eclipse, the above process will detect your application, and asks you to select if it has to be deployed in the new server configuration.

To generate war file, right click on your project in 'project explorer' window, and click 'export as'. In the dialog box, select WEB > WAR file

0

精彩评论

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

关注公众号