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