0

I have multiple running application on same tomcat server URL:

www.myserver.com/application1-name.
www.myserver.com/application2-name.
www.myserver.com/application3-name.

Now I need change my context by adding environment as mentioned below

www.myserver.com/env1/application1-name.
www.myserver.com/env1/application2-name.
www.myserver.com/env1/application3-name.

Can anybody please tell me how can I add /env1 in my context path either through JSF or Tomcat ???

Many thanks in advance.

4

1 に答える 1

0

tomcat .. の server.xml ファイルに以下を追加できます。

<Host>
          .
          .
          .
<Context docBase="application1-name" path="/env1" debug="0" reloadable="true"/>            
<Context docBase="application2-name" path="/env1" debug="0" reloadable="true"/> 
<Context docBase="application3-name" path="/env1" debug="0" reloadable="true"/> 
</Host>
</Engine>
</Service>
</Server>
于 2013-10-23T15:03:05.177 に答える