This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I am calling the script on load but by that time the forward is already done and control doesnt goes to the script. Is there a way to run both? There is no restriction on when the script can be run. Any time is ok. But I dont get any funtions that run the script before the load of the page.
I put the jspforward inside the script, the forward happens but the window doesnt open.
First, I'm going to pose a few questions; why are you forwarding from one JSP to another instead of JSP to Servlet or just posting a form that sends data to the servlet.
Secondly, how is the forward being called? Is it with an ajax script (like by DWR) if so, add the window popup to the callback function.
Sree Lakshmi Sugunan
Joined: Feb 29, 2008
First of all I am not sure if this works because when I try, I invoke the script onload but the control goes to the servlet with the forward and doesnt reach the script. If forward is there cant we do any thing else in the page to send to client
I had another post also for a another issue of this problem (Generate PDF report from jsp) which has more details of the issue.