You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Nick Pomfret <ni...@pixelpark.com> on 2001/11/15 10:26:03 UTC
RE: How do I get the absolute file to something in the Resources directory?
try: TurbineServlet.getRealPath("")
-----Original Message-----
From: Pugh, Eric [mailto:EPugh@MuseumCompany.com]
Sent: 14 November 2001 20:38
To: 'Turbine Users List'
Subject: How do I get the absolute file to something in the Resources
directory?
Hi all,
I want to store some configuration information and temp data about my
application in some XML files.. I was going to put them in
\webapps\myapp\Resources\tmp\*.xml
However, I can't figure out how, from inside turbine, to get that path? I
thought I could use the contentURI object to tell me, but it gives me a
website relative url, not a filesystem url..
The reason I don't want to use the TurbineResourcesService to store my data
is that some of it is application specific data, and some may be very
changable.
Any ideas?
Eric
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>