Thanks Daniel:
Can you provide me with an example of the usage of the config file? I would appreciate 
it. 
Thanks,
Nani Jon.
 Daniel Joshua wrote:Nani Jon,

Try using this... http://www.webdav.org/

Alternatively, you can store the path of the MP3 directory into a config
file, and just use normal IO to interact with them.


Regards,
Daniel

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 5:06 AM
To: [EMAIL PROTECTED]
Subject: RE: accessing large/multiple files on hard drive


This has got to be a candidate for the worst, messiest solution ever...

Worse comes to worse, you could have two applications... one that holds
and serves up the mp3 files and the other that does all the other
work...

I'm sure there is a hole a mile wide in this idea...



-----Original Message-----
From: ekbush [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 4:39 PM
To: struts-user
Subject: Re: accessing large/multiple files on hard drive


That could get quite tricky if you're running out of a WAR archive. If
your application is deployed in "unpacked" format, then you could
sym-link (on Un*x anyway) to it I would think. So you'd wind up with a
sym-link in your root (or protected under WEB-INF) that pointed to the
real directory. I can't think of another elegant solution. Maybe
someone else can.

Regards,

Eddie

Nani Jon wrote:

>Hi:
>
>Here is my sitiuation. I have deployed my application war file to a
JBoss_Tomcat caontainer. I have developed this app using struts. I am
trying to access multiple music files (mp3 format) form this app. I
don't want to wrap all of my mp3 files which total to about 1 GB in my
war file. This makes for a very lenghty deploy process, especially when
it is work in progress. I just want to put them in a directory on the
server where Tomcat is running and point to that directory in my
application. How is this done. Your help is greatly appreciated.
>
>Thanks,
>
>Nanijon.
>



--
To unsubscribe, e-mail:

For additional commands, e-mail:





--
To unsubscribe, e-mail: 
For additional commands, e-mail: 



---------------------------------
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes

Reply via email to