Popup window from a servlet
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   V_V
Posted On:   Saturday, January 25, 2003 12:57 PM

Hi, Thanks in advance for the responses.I have a JSP called Reports.jsp which is initiated by a ReportServlet. In the JSP user will select some options and clicks on the Print or Preview report. The response should go to the servlet and the Servlets has to refresh the same page but at the same time it has to initiate the Crystal report interface and the response from the Crystal server has to be displayed in another Window( something like Popup window). Basically that window should show the status of the report such as whether the report has been successfully generated(if so, hyper link should be there in the window/html) or not or Crystal server failed etc. All this has to be displayed in antoher window. If user clicks selects another report informati   More>>

Hi,

Thanks in advance for the responses.I have a JSP called Reports.jsp which is initiated by a ReportServlet. In the JSP user will select some options and clicks on the Print or Preview report. The response should go to the servlet and the Servlets has to refresh the same page but at the same time it has to initiate the Crystal report interface and the response from the Crystal server has to be displayed in another Window( something like Popup window). Basically that window should show the status of the report such as whether the report has been successfully generated(if so, hyper link should be there in the window/html) or not or Crystal server failed etc. All this has to be displayed in antoher window. If user clicks selects another report information and wnats to generate if the (popup) window is still open, the servlet should not open another popup window instead it shoud finish the report task and the old popup( resizble) window should be updated with the new report information. I hope I do make myself clear.
Please help me.
Thanks,
VV

   <<Less

Re: Popup window from a servlet

Posted By:   Christopher_Koenigsberg  
Posted On:   Monday, January 27, 2003 07:04 AM

A servlet is invoked via a single request, and returns a single response, to the client that sent the request.



Anything you do with juggling multiple windows, popping them up or not, closing them, etc. has to be done on the client side, e.g. with Javascript code, that is written in the single response page from the servlet.

About | Sitemap | Contact