简体   繁体   English

在本地将Web应用程序部署到客户端

[英]Deploying locally the Web application to client

I have developed my webApp with Struts2, Hibernate and MySQL. 我已经用Struts2,Hibernate和MySQL开发了我的webApp。 Now I want to deploy it locally to the client in his computer without installing Eclipse . 现在,我想在不安装Eclipse的情况下将其本地部署到其计算机中的客户端。

For me I was installing wampserver and in the Eclipse I'm using Tomcat v7.0 Server at localhost. 对我来说,我正在安装wampserver,在Eclipse中,我正在本地主机上使用Tomcat v7.0 Server。 I don't use maven please give me all step to do this task 我不使用Maven,请给我所有步骤来完成此任务

You can use tomcat server . 您可以使用tomcat服务器 Just create war file of your project and put it in tomcat's webapp folder and then move this folder to client machine. 只需创建项目的war文件并将其放入tomcat的webapp文件夹中,然后将该文件夹移动到客户端计算机即可。
At the client machine past your tomcat at any drive then open command prompt and go to that drive folder like 'd/new/tomcat' and bin folder of tomcat and then just type this command . 在您的雄猫经过任何驱动器的客户端计算机上,然后打开命令提示符,并转到该驱动器文件夹,例如“ d / new / tomcat”和雄猫的bin文件夹,然后键入此命令。 /startup.bat /startup.bat
your tomcat is started check it on browser. 您的tomcat已启动,请在浏览器中检查它。

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

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