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]

Reply via email to