Meaningless Drivel is fun!*
The moose likes Struts and the fly likes Struts 1.2 Problem with Export to Excel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1.2 Problem with Export to Excel" Watch "Struts 1.2 Problem with Export to Excel" New topic

Struts 1.2 Problem with Export to Excel

Gp Murthy

Joined: Feb 22, 2011
Posts: 1
I am using Struts 1.2 for my project. I have set the export property to true for excel in dsiplay:table tag. All works fine until I choose to export.
The issue occurs when I click on Export link, it exports or does as commanded. If i don't refresh the page, and only change the query form contents, then by default the system tries to export the result list to an excel file instead of displaying in the webpage.

The structure of the page is as follows:

Could anyone please tell me what should I modify to not keep that memory of previously chosen export option until explicitly clicked upon.

It is sorta covered in the JavaRanch Style Guide.
subject: Struts 1.2 Problem with Export to Excel
Similar Threads
Pagination using display tag and JSTL.Display problem
pagination problem
Problem in exporting the jsp in excel
Struts 2 / displayTag / Export
display tag export problem