Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 26th, 2005, 01:08 PM
MAS MAS is offline
Registered User
Join Date: Oct 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Accessing XML files from a WebApp

I have a webApp that contains classes which access to XML files in a directory. Now I'm using a non relative adress like c:\xml_files or /home/mas/xml_files. but I want to use a relative adress to access these files like /xml_files from my java class in WEB_INF/classes. and all of that are under the webApp's directory under Tomcat/webapps.
this request is to make the webApp fully portable .
Thanks for your help


Similar Threads
Thread Thread Starter Forum Replies Last Post
accessing files from asp.net naidukap ASP.NET 1.0 and 1.1 Professional 1 November 18th, 2005 08:59 AM
Accessing XML files from a WebApp MAS BOOK: Professional Apache Tomcat 0 October 26th, 2005 01:00 PM
Accessing files outside of IIS server mcinar HTML Code Clinic 10 April 7th, 2005 10:47 AM
Accessing network files from IIS PC badgolfer ASP.NET 1.0 and 1.1 Basics 3 March 2nd, 2004 07:51 AM

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