On Mon, 2006-01-23 at 16:27 -0800, Craig McClanahan wrote:
> On 1/23/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> > Craig McClanahan wrote:
>
> [snip]
>
> > > Calling flush() doesn't necessarily cause the *entire* response to be
> > > sent, because you might still be creating more output.
A compression filter does exactly that, that's the reason it occurred to
me :) I remember facing *precisely* that problem a few months back with
the JWP sample app. I know I solved it, but I guess I had forgotten the
root cause :)
Frank
Craig McClanahan wrote:
On 1/23/06, Frank W. Zammetti
On 1/23/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Craig McClanahan wrote:
[snip]
> > Calling flush() doesn't necessarily cause the *entire* response to be
> > sent, because you might still be creating more output. But it *does*
> > cause the HTTP headers, and any output content you've w
Frank W. Zammetti wrote:
Craig McClanahan wrote:
Let's try to be a bit more helpful here :-).
No object :)
Err, no OBJECTION!
D'oh :)
Frank
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
Craig McClanahan wrote:
Let's try to be a bit more helpful here :-).
No object :)
The only thing Struts itself might do is try to set the no-cache
headers if you have them configured. It does not, by itself, ever
write to the response stream or response print writer. That's the
responsibili
On 1/23/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Here comes my unhelpful response for the day...
>
Let's try to be a bit more helpful here :-).
> [EMAIL PROTECTED] wrote:
> >
> > I've got the thing to work returning null as my forward. That leaves a
> couple of questions though.
> >
>
On 1/23/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Here comes my unhelpful response for the day...
>
> [EMAIL PROTECTED] wrote:
> >
> > I've got the thing to work returning null as my forward. That leaves a
> > couple of questions though.
> >
> > 1) Does struts write anything to the respo
> wrote:
From: Frank W. Zammetti [mailto: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: user@struts.apache.org
Date: Mon, 23 Jan 2006 14:00:15 -0500 (EST)
Subject: Re: returning a non-html file as response
Hi,If you are writing the response from an Action (which yes, you can do asyou desc
.apache.org
Date: Mon, 23 Jan 2006 14:00:15 -0500 (EST)
Subject: Re: returning a non-html file as response
Hi,If you are writing the response from an Action (which yes, you can do asyou
describe), you should return null from execute(). This indicates toStruts that
you have taken responsibility f
[EMAIL PROTECTED] wrote:
I need to return a differnt kind of resposne type. Its an excel file if your curious. I think I understand how to do this with a plain servlet, but I am trying to fit it into the structure of the struts architecture. Can someone explain to me how to do this? In particu
Hi,
If you are writing the response from an Action (which yes, you can do as
you describe), you should return null from execute(). This indicates to
Struts that you have taken responsibility for rendering the response and
no forward should take place, the response should simply be returned as it
I need to return a differnt kind of resposne type. Its an excel file if your
curious. I think I understand how to do this with a plain servlet, but I am
trying to fit it into the structure of the struts architecture. Can someone
explain to me how to do this? In particular, can I just grab t
12 matches
Mail list logo