Re: read local file in ActionStruts

2005-02-01 Thread [EMAIL PROTECTED]
PST) Subject : Re: read local file in ActionStruts > Hmm... Could be a cache issue, although that seems kind of unlikely. Try > removing the two cache lines in showPDF.jsp and see what happens. Is there > any chance the file isn't being close after being written, or something along

Re: read local file in ActionStruts

2005-02-01 Thread fzlists
Cache problem?!?!? > > > -- Initial Header --- > >>From : [EMAIL PROTECTED] > To : user@struts.apache.org > Cc : > Date : Tue, 1 Feb 2005 06:46:42 -0800 (PST) > Subject : Re: read local file in ActionStruts > >> I do something

Re: read local file in ActionStruts

2005-02-01 Thread [EMAIL PROTECTED]
Cc : Date : Tue, 1 Feb 2005 06:46:42 -0800 (PST) Subject : Re: read local file in ActionStruts > I do something like this in one app... > > I'm creating PDFs on-the-fly and then displaying them on the browser. I have > a directory named temp under my webapp that the PDFs

Re: read local file in ActionStruts

2005-02-01 Thread fzlists
Yeah, sorry about that everyone :) My reply to two different threads didn't seem to go through, but apparently it went through a couple of times. Not sure why, but I apologize. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, Febru

Re: read local file in ActionStruts

2005-02-01 Thread fzlists
--- > >>From : [EMAIL PROTECTED] > 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.servl

Re: read local file in ActionStruts

2005-02-01 Thread Frank W. Zammetti (MLists)
--- > >>From : [EMAIL PROTECTED] > 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.con

Re: read local file in ActionStruts

2005-02-01 Thread fzlists
Re: read local file in ActionStruts I do something like this in one app... I'm creating PDFs on-the-fly and then displaying them on the browser. I have a directory named temp under my webapp that the PDFs get written to. The files are named according the the user ID. You have the A

Re: read local file in ActionStruts

2005-02-01 Thread [EMAIL PROTECTED]
: 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 <[EMAIL PROTECTED]> > 02/01/2005 08:52 AM > Please respond to > &quo

Re: read local file in ActionStruts

2005-02-01 Thread DGraham
How about using the javax.servlet.context.tempdir Servletcontext attribute? Dennis Keshav Shetty <[EMAIL PROTECTED]> 02/01/2005 08:52 AM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: read local file in ActionStruts Then

Re: read local file in ActionStruts

2005-02-01 Thread [EMAIL PROTECTED]
to read an rtf or word doc file? -- Initial Header --- >From : "Keshav Shetty" [EMAIL PROTECTED] To : "Struts Users Mailing List" user@struts.apache.org Cc : Date : Tue, 01 Feb 2005 15:52:22 +0200 Subject : Re: read local file in

Re: read local file in ActionStruts

2005-02-01 Thread Keshav Shetty
Initial Header --- From : "Keshav Shetty" [EMAIL PROTECTED] 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 c

Re: read local file in ActionStruts

2005-02-01 Thread [EMAIL PROTECTED]
: 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://

Re: read local file in ActionStruts

2005-02-01 Thread Keshav Shetty
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 Kesha

read local file in ActionStruts

2005-02-01 Thread [EMAIL PROTECTED]
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 (document.location='file:///xxx.xx') My problem is IE or Netscape does not allow me to read local file. Any alternative idea? _