You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Chen, Dean (Zhun)" <De...@gs.com> on 2002/11/13 23:35:31 UTC

export in frames

Hi,
I have 2 frames. One submits a query to be displayed in the 2nd.
In the 2nd frame, there's a button to export. The export apparently works,
however, after the user exports, queries that the user submits no longer
appear on the screen. He/she has to refresh the browser to submit more
queries.

Currently the export works by running the query again, and then in the JSP,
issuing HttpServletResponse.setContentType("application/octet-stream") and
setHeader("content-disposition", "attachment; filename=export.csv").

Anyone have any suggestions?

Thanks,

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>