my dog learned polymorphism*
The moose likes JSP and the fly likes Export to Excel Dialog Box Always Pops Up Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Export to Excel Dialog Box Always Pops Up" Watch "Export to Excel Dialog Box Always Pops Up" New topic
Author

Export to Excel Dialog Box Always Pops Up

Darren Alexandria
Ranch Hand

Joined: Aug 17, 2007
Posts: 185
Good day!

In a JSP page, I have three Buttons.
One of which is the Export to Excel button. When this button is clicked, it works just fine. But after clicking this button and try to click the other ones, the dialog box for the Export to Excel still pops up. Why is this so?

This is the header for the Export to Excel JSP.



Thanks.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

Please take the time to choose the correct forum for your posts. This forum is for questions on beginning Java.

This post has been moved to a more appropriate forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

I think showing us how the buttons are wired would be useful information.
Darren Alexandria
Ranch Hand

Joined: Aug 17, 2007
Posts: 185
Sorry for posting this question in the beginner's forum.
This is the snippet of the JSP page that contains the buttons

The buttons that doesn't work after clicking Export to Excel button:

Main.jsp


The button where the Export to Excel is created:



The calls this:
MainAction.java


This is the JSP page that is being called:
ExportToExcel.jsp

[ July 28, 2008: Message edited by: Ulf Dittmer ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41186
    
  45
What is the HTML that gets generated by the code above?


Ping & DNS - my free Android networking tools app
Darren Alexandria
Ranch Hand

Joined: Aug 17, 2007
Posts: 185
A dialog box will appear where users can select local path where the Excel file can be saved.

Then this HTML will populate cells within the Excel File.

Thanks!
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Ulf's question was
What is the HTML that gets generated by the code above?


Your response doesn't answer that question.
You'll find that you generally get better help if you answer all of the questions that are put to you by the folks who are trying to assist you.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Export to Excel Dialog Box Always Pops Up
 
Similar Threads
JTextArea as a pop up
save a report as an excel file
"Save As" dialog box appears twice
listening to windows dialogue events in javascript
Export to Excel in JSF -An Issue