• 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:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

virtual directory in tomcat?  RSS feed

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, all.
Here 's my directory structure.

The address "http://localhost/MYAPPS/index.jsp" works fine.
But I dont know how display file "books.html", what is in directory "other_web".
Directory "other_web" is located out of "WEBAPPS"-directory.
What have I do, if I want to work the address "http://localhost/other_web/books.html" or "http://localhost/MYAPPS/other_web/books.html" too?
I have Tomcat 4.0.3. and W2k.
Have I to do some configuration in files "web.xml" or "server.xml"?
I can't replace files from "other_web".
Thank You for your advice.
[ July 09, 2002: Message edited by: dajac chison ]
[ July 09, 2002: Message edited by: dajac chison ]
 
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In 'server.xml' you should type this:

/Rene
 
dar
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank U.
It works.
Good luck.

Originally posted by Rene Larsen:
In 'server.xml' you should type this:

/Rene

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!