Hi, I am trying to provide print functionality in my JSP. There should be a print button and when the user clicks this 'print' link/button it should pop-up a new window with the contents from the parent window. I can pop-up the new window, but the problem here is I could not pass a java bean object to this window in order to display my contents on the new window. I cannot print the contents of parent window directly, because the data is being displayed in the area with scrollbars (created using <div> tags). Does anybody have a solution or sample code for this? Thanks much. -- Sailu [ February 09, 2004: Message edited by: Bear Bibeault ]
Scroll bars will create problem, if they are formed using DIV tags. Try it. Sailu, I don't understand what is the problem with accessing a Java bean object from the new window! Are you getting some errors?