Hi,
I want to know if there is anyway I can open a pop up window (a
jsp) using action class.
The flow will like this. I have the message to appear in the jsp pop up page in the action class. I need to print the message in the pop up window. Is it possible from action class, or should I pass the
string to my
servlet. Is it possible to open pop up window from servlet? Please let me know if this is possible or not.
Actually my requirement is as follows.
I have a login.jsp. After I enter the details I get an arraylist from the servlet and display in the customer.jsp. The customer has options to enter more details. After he enters he has an option to save it. He can use a button to save the new entered details.
The customer also has an option to generate the old and new details in String form, i.e it will be having all the new values and old values arranged in order. Hence this is dynamic and has to be obtained from databse. He can click on a button to open a pop up window(generate.jsp) which gets all the new and old details from the database and displays in the pop up jsp(generate.jsp). But the main window should be customer.jsp at the background.
I am able to get the details in the same page itself, but giving the details in the pop up window with the main window at the back, I couldnt do it. Any suggestions are welcome. I am just using
in my main page(customer.jsp) to open the new window.
Thanks