Re: ServletOutputStream

2008-07-30 Thread Mike Rooney
Thank you for the help guys. I got it working. - Original Message From: Gabriel Belingueres <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Wednesday, July 30, 2008 10:58:43 AM Subject: Re: ServletOutputStream A solution could be this: Store the excel data in session, t

Re: ServletOutputStream

2008-07-30 Thread Gabriel Belingueres
Original Message > From: Gabriel Belingueres <[EMAIL PROTECTED]> > To: Struts Users Mailing List > Sent: Wednesday, July 30, 2008 3:59:29 AM > Subject: Re: ServletOutputStream > > Your action can not generate two responses (if that's what you asking). > If you f

Re: ServletOutputStream

2008-07-30 Thread Miguel
ble to store the file data in a session and somehow have the File > Download dialog show up? If so I am not sure how to do that. > > > > - Original Message > From: Gabriel Belingueres <[EMAIL PROTECTED]> > To: Struts Users Mailing List > Sent: Wednesda

Re: ServletOutputStream

2008-07-30 Thread Mike Rooney
, July 30, 2008 3:59:29 AM Subject: Re: ServletOutputStream Your action can not generate two responses (if that's what you asking). If you forward to a 'status completed' page, then you need to save your excel data somewhere to not loosing it. 2008/7/29 Mike Rooney <[EMAIL

Re: ServletOutputStream

2008-07-30 Thread Gabriel Belingueres
Your action can not generate two responses (if that's what you asking). If you forward to a 'status completed' page, then you need to save your excel data somewhere to not loosing it. 2008/7/29 Mike Rooney <[EMAIL PROTECTED]>: > I created a small webapp that extracts data from a DB, creates an Exc

Re: servletOutputStream in S2 action

2008-02-07 Thread bhaarat Sharma
just read the link you sent. I cant make my execute method void because it is being used for another page which requires it to send something back. :( - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: servletOutputStream in S2 action

2008-02-07 Thread bhaarat Sharma
I was trying stuff out and i hve got it working perfectly. Only thing is my that my execute is returning a SUCCESS when everything is done. However I do not have any in my struts.xml for this action. since the user shouldnt be moved to another page. Now I am able to see open /save dialog box as

Re: servletOutputStream in S2 action

2008-02-07 Thread Mike Jennings
You can do this by creating a custom result type. A example of a custom result type for streaming images from a action to a img tag is here. http://struts.apache.org/2.x/docs/how-can-we-display-dynamic-or-static-images-that-can-be-provided-as-an-array-of-bytes.html You can use this as a examp