Multiple Popup Windows Requirement: • There is a list of hyperlinks on a page and on click of each hyperlink a popup opens. So if user clicks on 10 hyperlinks then 10 popup opens. • Each popup displays a distinct data based on the received parameters. • The data displayed in the popup is again reproduced as html and excel report.
Current Approach: • On click of the hyperlink a JavaScript in turn passes the parameters to an action class. • Inside this action class we collected all the data from request scope and set them as form property because it was needed to be displayed in the popup window. • Then an expensive database trip and computation goes on which takes normally around 1 to 2 minutes. • The data retrieved is set as form property. • Forward to the JSP. N.B. The form bean contains all the properties needed to be displayed on the JSP .The scope of the form bean was set to session so that we can display the same data as html or excel report without doing the database and computational trip. Problem faced: • Data mingling across multiple popup windows when opened almost simultaneously from the same browser instance. • The html and excel reports displayed the data of the last opened popup window. Please provide a solution to this problem? -- View this message in context: http://www.nabble.com/Data-mingling-across-multiple-popup-windows-when-opened-almost-simultaneously-from-the-same-browser-instance-tf4045756.html#a11492269 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]