Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 2nd, 2004, 12:31 PM
Registered User
Join Date: Jun 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default acessing files outside document root

I am developing an application using tomcat server and most of coding is done using jsp. Now my problem is that I need to access some files that are located outside the "document root".
Suppose i need to access the file /home/usr/img.jpg and if I provide the absolute path in my application to access this file, the program always searches the path inside the document root. So i was wondering is there a way around it that allows access to files outside document root.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
including files above site root rinventive PHP How-To 2 August 29th, 2008 03:11 PM
why cannot remove aspx.vb files in root? badboy1 ASP.NET 3.5 Basics 5 June 25th, 2008 08:23 AM
Permission denied in acessing dll files sobhamuktha VB Components 6 February 4th, 2005 08:17 AM
Site root and document relative paths. nicnacs Dreamweaver (all versions) 5 October 5th, 2004 05:35 PM
Add BLOB graphic files into a Word Document mckly Pro VB Databases 0 June 30th, 2004 08:57 AM

All times are GMT -4. The time now is 01:14 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.