Hello,
I read a lot about this but nothing seems to work. Strange that there is not a lot of info on this seemingly popular topic.
I want my context to be displayed when I hit
http://localhost:8080. I'd like to do it without having to deploy my application as ROOT.
Let's say I have a web all called alexey.war
How can I make
http://localhost:8080/ equivalent to
http://localhost:8080/alexey/ How can I make
http://localhost:8080/someURI/morestuff/? equivalent to
http://localhost:8080/alexey/someURI/morestuff/? Here is what I tried:
context.xml in my app with
<Context path="" docBase="alexey" debug="0" reloadable="true">
</Context>
Some other stuff too... I really want to do this without having to change ROOT stuff or name of my context. Documentation says that empty path
string (path="") should replace ROOT context with my app but that does not seem to work. I searched and there is no ohter path="" anywhere in
Tomcat... thanks!