Tomcat base URL redirection

Viewed 292456

Using tomcat, how do I get a request for http://www.mydomain.example to redirect to http://www.mydomain.example/somethingelse/index.jsp? I haven't even managed to get an index.html to display from http://mydomain.example.

6 Answers

What i did:

I added the following line inside of ROOT/index.jsp

 <meta http-equiv="refresh" content="0;url=/somethingelse/index.jsp"/>
Related