tomcat + access files that are not in the document root

B

blueice

Hi,

I'm creating a web application (using a servlet) that generates a
webpage with a list of links to documents on the server. These
documents are not located in the document root directory of my web
application. How can I configure Tomcat to be able to access them?

Kind regards,
Dirk
 
B

blueice

Found the solution: context path in the server.xml config file did the
trick :)

Kind regards,
Dirk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,690
Members
48,796
Latest member
Greg L.

Latest Threads

Top