简体   繁体   English

Eclipse:Apache tomcat

[英]Eclipse :Apache tomcat

I have installed a tomcat plugin in eclipse and made a web project using it. 我已经在Eclipse中安装了tomcat插件,并使用它制作了一个Web项目。 I can run that project by starting server in eclipse but when I close eclipse the server stops and working is terminated. 我可以通过在eclipse中启动服务器来运行该项目,但是当我关闭eclipse时,服务器将停止并终止工作。 Is there is any way to maintain server started while eclipse is not running..... kind of virtual directory in IIS . 有什么方法可以保持服务器在Eclipse不运行时启动。 Is there a way to correlate apache service and server in eclipse? 有没有一种方法可以在Eclipse中关联apache服务和服务器?

everything you start within eclipse will be terminated when you close eclipse. 当您关闭Eclipse时,您在Eclipse中启动的所有操作都会终止。

you have to deploy your webapp to a standalone server. 您必须将webapp部署到独立服务器上。 export your application as war file and put it into your tomcat's webapps folder. 将您的应用程序导出为war文件,并将其放入tomcat的webapps文件夹中。

-> http://www.jguru.com/faq/view.jsp?EID=123229 - > http://www.jguru.com/faq/view.jsp?EID=123229

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM