English 中文(简体)
如何部署网络应用
原标题:How to deploy a web application

I have created a dynamic web projects in eclipse which includes jsp pages and servlet.The back end of this application is Mysql and i include mysql-connector-java-5.1.15-bin.jar in the lib folder. I want to deploy this web application using Tomcat server instead of running this application in eclipse using tomcat. How is it possible?. Can any one suggest any sample codes or methods to solve this problem.

最佳回答

• 向Tomcats网络发射器复制WAR文档,并自动部署。 Willartung的答复是正确的

问题回答

你们需要建立战争档案(或视你使用何种技术而定),然后将它部署到你的集装箱。 (在<代码>tomcat/webapps上) 倍数。 Ant和Maven这两个管理项目的公共技术都支持这样做。 网站上还有大量文件。

Step 1: Go to Windows > SHow View > Other > Select Servers Step 2: In Server Tab . Right Click > Add New Server > Add Run time if not available and add tomcat server.

步骤3:将你的项目增列入并完成。 如果你在服务器表上看到,你将看到你的项目。

步骤4:在服务器上点击,选择 de或操作。

您可以通过从您的网络应用中转播这一文字,自动将这一文字翻译成你的目录。 另一种选择是将战争档案拷贝到散射网络夹中。

在将申请从Eclipse出口到Eclipse之后。 WAR 文档:http:// localhost:80/manager/html





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签