• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Localhost

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

please help how to execute of the file location = D:\JSProject\Work\indexB.jsp

As the content of IndexA = IndexB.

thank you and respectfully,
andri
 
Bartender
Posts: 4101
63
Hibernate Fedora Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!