One way or another the file HAS TO BE in the context of your webserver...
We have similar situations where large data files reside on a seperate
server so we created nsf mount points to the required directories and
created an alias in Apache to point to the mounted directory


say  /u01/dev/data/multimedia on server2 is where the files reside we make
an nsf mount on server2 pointing to this directory so now server1 sees
/nsf/server2/multimedia. next we create an alias in apache which points to
this mount point such as /multimedia = /nsf/server2/multimedia.. now we can
access the files from a web browser with the following link
http://myserver.sbec.com/multimedia/somebigfile.wav

-----Original Message-----
From: ganesh g [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 7:34 AM
To: Struts Users Mailing List
Cc: [EMAIL PROTECTED]
Subject: convert locamachine serverpath to universal clientpath he can
download it and play very very urgent please


Hi Friends,

You are right But i'm placing in another drive 
                                                
c:\clientsData\client1\client1 huge PersanalData..
                                                
c:\clientsData\client2\.client2 huge PersanalData..
                                                
c:\clientsData\client3\.client3 huge PersanalData..
It's a large data.So i'm not allowed to place them in webapps 
directory.
>From there itself i've give data to clients.So pls i want another solution
in detail.
Thanks
 
Please help me Urgent
Ganesh
 



"Rosenberg, Leon" wrote:This is not a struts question, but, put your file in
the context of your web-app ->
.../webserver/webapps/your-web/audioFiles/sample.wav and reference it in the
jsp as /audioFiles/sample.wav



> -----Ursprüngliche Nachricht-----
> Von: ganesh g [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 12. Mai 2004 14:16
> An: user
> Cc: user
> Betreff: convert locamachine serverpath to universal clientpath he can
> download it and play very very urgent please
> 
> Hi List,
> 
> i need ur help very urgent.
> 
> 1)
> My audio file path in my server is as follows:
> 
> "c:\audioFiles\sample.wav"
> 2)
> i wrote javascript code snippet in a jsp file to play that audio file
> where i'm sending my server path("c:\audioFiles\sample.wav") to play
> audio.But client is not able to play the audio file.Here when a client
> clicks on 'Play' button, audio should play.i.e.,'download' sould
> automatically happen internally without displaying the download dialogue
> box.
> 
> What my serious problem is how to send my server path to all clients so
> that they can play it.How to convert this path into Universal path or Url
> path.
> 
> Are there any methods or tricks??
> i'm using struts ...
> Pls help me. Urgent..
> 
> Advance thanks
> Ganesh
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Movies - Buy advance tickets for 'Shrek 2'


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2' 

                
---------------------------------
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2' 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to