English 中文(简体)
阿帕奇·托马科特组合档案的背景要素的“来源”是什么?
原标题:What is the "source" attribute of the Context element of an Apache Tomcat configuration file for?

它与Eclipse有关。 例如:

<Host>
    <Context docBase="foo" path="/foo" reloadable="true"
        source="org.eclipse.jst.j2ee.server:foo" />
</Host>
最佳回答

Eclipse WTP 添加了<条码>属与项目有关的<代码><Context>要素,用以确定与本背景有关的源代码的位置(正本,即从Eclipse向该服务器实际部署的工作空间项目)。

如果你在Tomcat启动期间发出警告,从Tomcat 6.0.16起,在<条形码>、xml或server.xml中的任何“未确认”XML标记和属性都将在启动期间发出警告,尽管实际上没有任何DTD手段。

只是无视这一点。 Tomcat将做罚款,Eclipse很高兴。 它在真正的生产环境中取得了一定成绩,其档案价值很高。

问题回答

暂无回答




相关问题
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 ...

热门标签