English 中文(简体)
将日食通称工程移动到独立的通卡项目
原标题:Move eclipse tomcat project to standalone tomcat

i have done a project in eclipse,and i m able to deploy and use the servlets from within the eclipse environment. my servlets are all functioning from http://localhost:8080/Report/ServletName. I exported this project as a .WAR file. how do I deploy this WAR in a tomcat 6 setup on my ubuntu machine. and will the servlets still be available at the same address(http://localhost:8080/Report/ServletName).

最佳回答

在Tomcat 的 webapps 文件夹中丢弃战争文件。见http://tomcat.apache.org/tomcat-eme-doc/appdev/mote.html ,以获取有关在Tomcat中部署的文件。如果战争文件的名称是 Reports.war ,网络应用程序将在 /Report/ 上提供。

问题回答

这里详细解释了所有Tomcat部署方法:http://tomcat.pache.org/tomcat-6.0-doc/depteer-howto.html#Depteminment_on_Tomcat_startup

不过我还是建议和Tomcat经理合作

部署地址会根据您的 WAR 文件名称更改 。





相关问题
Tomcat´s server.xml dynamic configuration

My web application uses the same database configuration as the application XYZ. I have a resource declaration for a context in server.xml, so I have a duplicated configuration (once for web ...

session transfer issue from Tomcat to ASP.Net

I am using Tomcat to host JSP and using IIS 7.0 to host aspx (C# + .Net 3.5 + VSTS 2008), and I have some session transfer issue from JSP page to ASPX page. JSP page is in one domain and all other ...

JSP exception - class not found (tomcat)

I m setting up an existing application on a new Tomcat 5.5 server connecting to a Postgres database (running on Debian Lenny). When I access it I get a series of stack traces with the following root ...

热门标签