# Localhost

Andri First
Greenhorn
Posts: 2
Dear All,

i am able to execute the file at Http://localhost:8080/Test/indexA.jsp.
The location : C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\Test\IndexA

As the content of IndexA = IndexB.

thank you and respectfully,
andri

Vijitha Kumara
Bartender
Posts: 3914
9
Welcome to the Ranch!

First case you are actually executing a jsp which is installed under a web application called "Test" in Tomcat. The latter is just a file residing in the file system (I assume without the control of a server). So you cannot access that the same way as the other.

Andri First
Greenhorn
Posts: 2
Dear Vijitha,

can we set the environment...in order for tomcat to refer to our folder preference....instead of using the default folder /.../"webapps"

thank you