struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "gdilem\@libero\.it" <gdi...@libero.it>
Subject Re: read local file in ActionStruts
Date Tue, 01 Feb 2005 14:12:43 GMT
could u be more precise?
U mean to save there the file and after that read it?!
Actually I did not find any instructions.
Do u?


--------- Initial Header -----------

>From      : DGraham@EvergreenInvestments.com
To          : "Struts Users Mailing List" user@struts.apache.org
Cc          : 
Date      : Tue, 1 Feb 2005 09:06:51 -0500
Subject : Re: read local file in ActionStruts

> How about using the javax.servlet.context.tempdir Servletcontext 
> attribute?
> 
> Dennis
> 
> 
> Keshav Shetty <Keshav.Shetty@eurodyn.com> 
> 02/01/2005 08:52 AM
> Please respond to
> "Struts Users Mailing List" <user@struts.apache.org>
> 
> 
> To
> Struts Users Mailing List <user@struts.apache.org>
> cc
> 
> Subject
> Re: read local file in ActionStruts
> 
> 
> 
> 
> 
> 
> Then don't store the file within webapp, but in any server folder and 
> write a servlet to retrieve the file.
> 
> Thanks & regards
> Keshav K Shetty
> 
> gdilem@libero.it wrote:
> 
> >Tomcat  see a new created file only after shutdown and startup.
> >That's a big problem.
> >Help!
> >
> >---------- Initial Header -----------
> >
> >>From      : "Keshav Shetty" Keshav.Shetty@eurodyn.com
> >To          : "Struts Users Mailing List" user@struts.apache.org
> >Cc          : 
> >Date      : Tue, 01 Feb 2005 15:36:06 +0200
> >Subject : Re: read local file in ActionStruts
> >
> > 
> >
> >>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
> >>
> >>gdilem@libero.it 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 http://www.libero.it
> >>>
> >>>
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >>> 
> >>>
> >
> > 
> >
> >>>For additional commands, e-mail: user-help@struts.apache.org
> >>>
> >>>
> >>> 
> >>>
> >>> 
> >>>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >>For additional commands, e-mail: user-help@struts.apache.org
> >>
> >>
> >> 
> >>
> >
> >
> >
> >____________________________________________________________
> >6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero!
> >Scaricalo su INTERNET GRATIS 6X http://www.libero.it
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> > 
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 



____________________________________________________________
6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero!
Scaricalo su INTERNET GRATIS 6X http://www.libero.it



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message