spring - How to take out the project name from domain? -


(firstly not duplicate, other question not visible users more, , none of answers correct) need remove project name of java application domain, not find efficient way yet.

currently

www.example.com/myproject/index.jsp 

but should following (without project name)

www.example.com/index.jsp 

the following question similar question still no-one has answered correctly, , since 's been posted long time ago reckon wont visible answered more people.

question1

the following question shows how remove in eclipse not when website live

url issue tomcat include project name

there no general way this... particular application server. deploying applications default application name seems reasonable. can tell application server use different name or no name @ all. once again configuration depends on server.


Comments