struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy <andrh...@hotmail.com>
Subject RE: stream result causing action to be called multiple times
Date Tue, 05 May 2009 19:44:20 GMT

I may be reading this doc wrong, but doesnt it state it here?:

 

http://struts.apache.org/2.1.2/struts2-core/apidocs/org/apache/struts2/dispatcher/StreamResult.html

 

Also saw these:

http://stackoverflow.com/questions/257566/using-stream-result-with-struts2
http://sheetalshundori.blogspot.com/2008/02/struts2-dynamic-file-download.html


 
> Date: Tue, 5 May 2009 15:23:23 -0400
> From: dale@newfield.org
> To: user@struts.apache.org
> Subject: Re: stream result causing action to be called multiple times
> 
> Andy wrote:
> > I have an action that returns a stream result type
> 
> > <param name="contentDisposition">filename="${attachmentFileName}"</param>
> 
> This mistake is so common I'm wondering if there's some struts tutorial 
> somewhere that gets it wrong. Did you copy that setting from somewhere?
> 
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1
> 
> -Dale
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

_________________________________________________________________
HotmailĀ® goes with you. 
http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message