I have loaded a static (no servlets, jsp etc) website into the webapps folder of Tomcat.
I have an index.html file under webapps/ourcompany so when I click the ourcompany link in the tomcat manager I am expecting to be taken to the ourcompany/index.html page. However Tomcat keeps redirecting me to localhost:8080/ourcompany/www.ourcompany.org/index.html
The funny thing is when I first loaded this site, that was the correct URL as most of the content was in a folder called http://www.ourcompany.org – I moved the content ‘up a level (in terms of folder structure)’ to ‘clean up’ the folder structure and get a more pleasing address. I guess that may have something to do with it.
How can I get the link in the Tomcat manager to take me to localhost:8080/ourcompany/index.html rather than localhost:8080/ourcompany/www.ourcompany.org/index.html
Is there something in the index.html redirecting you to http://www.ourcompany.org/index.html?
Some piece of javascript, a meta refresh, etc?