Hi Dave:

Quite honesty, I couldn't make the connection, in my head, on how the result parameters in my .xml file corresponded to the action and method I am working in.

1. I don't believe I have to use the execute method, correct? In my case, I have an exportCSV() method in my action, and call it via my url /Report_exportCSV.do Is that base assumption ok?
       <action name="Report_*" method="{1}"
           class="com.skipdaddy.action.ReportAction">
           <result name="input">/WEB-INF/jsp/Report.jsp</result>
           <result name="locsearch-exportCSV" type="stream">
               <param name="contentType">text/plain</param>
               <param name="inputName">inputStream</param>
<param name="contentDisposition">filename="export.csv"</param>
               <param name="bufferSize">4096</param>
           </result>
      </action

2. Assuming 1 is correct, I was unable to backtrack through the docs enough to figure out what pieces I needed to set to initialize things correctly. I wasn't sure of which pieces needed setters or getters, and how I would be able to send info to the export.csv file once it was all initialized. Nor how I close the file, nor how I then redirect the users to a success page somewhere.

I dug through the Showcase as best I could and didn't really see a comparable example of any of this. It's very probable that you have just the pointers I am looking for.

Thanks for any and all help.

Skip Hollowell
newton.dave wrote:
--- Skip Hollowell <[EMAIL PROTECTED] <http://www.nabble.com/user/SendEmail.jtp?type=post&post=11194671&i=0>> wrote:
> The simple days of just dropping my values onto the
> response stream seem to be very much over.

Yay!

> I attempted to play with the Stream Result but
> crashed and burned in a big way.

How so?

d.



____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] <http://www.nabble.com/user/SendEmail.jtp?type=post&post=11194671&i=1> For additional commands, e-mail: [EMAIL PROTECTED] <http://www.nabble.com/user/SendEmail.jtp?type=post&post=11194671&i=2>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to