eclipse , server ,
C:\danny\code_base\goldenorder\Servers\Tomcat v7.0 Server at localhost-config\server.xml
所以发现有 <Context docBase="goldenorder" path="/fp-goldenorder" reloadable="true" source="org.eclipse.jst.jee.server:goldenorder"/></Host>
当然端口也可以修改了
[quote]
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443"/>
<Engine defaultHost="localhost" name="Catalina">
<Realm className="org.apache.catalina.realm.LockOutRealm">
</Realm>
<Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" pattern="%h %l %u %t "%r" %s %b" prefix="localhost_access_log." suffix=".txt"/>
<Context docBase="goldenorder" path="[color=red][b]/fp-goldenorder"[/b][/color] reloadable="true" source="org.eclipse.jst.jee.server:goldenorder"/></Host>
[/quote]
在自己项目目录有个 .setting的文件夹
[quote]<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="goldenorder">
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
<property name="java-output-path" value="/goldenorder/target/classes"/>
<property name="context-root" value="fp-goldenorder"/>
</wb-module>
</project-modules>
[/quote]
其实是.setting文件夹下这个C:\danny\code_base\goldenorder\goldenorder\.settings\org.eclipse.wst.common.component
文件导致的
C:\danny\code_base\goldenorder\Servers\Tomcat v7.0 Server at localhost-config\server.xml
所以发现有 <Context docBase="goldenorder" path="/fp-goldenorder" reloadable="true" source="org.eclipse.jst.jee.server:goldenorder"/></Host>
当然端口也可以修改了
[quote]
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443"/>
<Engine defaultHost="localhost" name="Catalina">
<Realm className="org.apache.catalina.realm.LockOutRealm">
</Realm>
<Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" pattern="%h %l %u %t "%r" %s %b" prefix="localhost_access_log." suffix=".txt"/>
<Context docBase="goldenorder" path="[color=red][b]/fp-goldenorder"[/b][/color] reloadable="true" source="org.eclipse.jst.jee.server:goldenorder"/></Host>
[/quote]
在自己项目目录有个 .setting的文件夹
[quote]<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="goldenorder">
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
<property name="java-output-path" value="/goldenorder/target/classes"/>
<property name="context-root" value="fp-goldenorder"/>
</wb-module>
</project-modules>
[/quote]
其实是.setting文件夹下这个C:\danny\code_base\goldenorder\goldenorder\.settings\org.eclipse.wst.common.component
文件导致的