The jsp page contains a print button. When the this button is clikced control is passed to an action class which generates a pdf file. If the pdf fileis successfully generated i need to open it in a new ie window conatining the pdf. ie the control should go to the popup window from action class and the page (where the print button is)shouldnot get reloaded also. how do i pass the control to a popup from an action class??
What do you want your "popup window" to look like? If you want just a standard Acrobat window then that is pretty straight forward. You stream the document back on the response, return null from your action, and the user sees a message like "Save or Open?" If you have a custom window then it is generally easier to popup a window that calls the action rather than popup the window after the action has executed.