Reputation: 302
I have a situation here i have an application in jsf-2.1 which is deployed as http://localhost:8080/myWebApplication
and in "META-INF" i have context.xml which has the following configuration
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/myWebApplication" />
Now i want to shorten the name without loosing context => 'myWebApplication' like '/mwp'
i tried to do the following but it did not work out as expected:
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/myWebApplication" />
<Context antiJARLocking="true" path="/mwp" />
Please advise if it is possible or is there any workaround to achieve this.
Upvotes: 1
Views: 1860
Reputation: 7655
Your application will (on your application server, not talking about vhosts or mod_rewrite on apache) only respond to:
Upvotes: 1