Gabriel
Gabriel

Reputation: 1838

JSP how to change application name

I have a JSP java application that has a name AAA-master so currently my application is accessible via http://localhost:8080/AAA-master/

The project is allso called AAA-master ... is there a way to make my application be accessible via http://localhost:8080/AAA/?

I searched everywhere and my google skills have failed me :(

i use tomcat6 with this project but i am migrating to tomcat7

Upvotes: 1

Views: 245

Answers (1)

amicngh
amicngh

Reputation: 7899

You can update your server.xml under Tomcat\conf

 <Context path="/AAA" docBase="yourWarFilelocation" debug="0" reloadable="true"> 

docBase is the location of your war file or Application root directory path

e.g. C:\\Amit\\developments\\abc

Upvotes: 1

Related Questions