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
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
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
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
---
>
>>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
---
>
>>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
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
: 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
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
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
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
: 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://
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
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?
_
14 matches
Mail list logo