struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keshav Shetty <>
Subject Re: read local file in ActionStruts
Date Tue, 01 Feb 2005 13:36:06 GMT
You can store the file on sever and not in client.
If I understood you already created file in your struts action and 
stored in the server.
So instead of giving file:// use full link with http:// link to file.
(Hope the file is within webapp) or write your download servlet.

Thanks & regards
Keshav wrote:

>Hi all
>In an Action Struts I create dynamically a file.
>After that whit PrintWriter I try to get the file win a script tag (<script>document.location='file:///xxx.xx'</script>)
>My problem is IE or Netscape does not allow me to read local file.
>Any alternative idea?
>6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero!
>Scaricalo su INTERNET GRATIS 6X
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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

View raw message