aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Sending data to popup window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Sending data to popup window" Watch "Sending data to popup window" New topic
Author

Sending data to popup window

Uma Viswanathan
Ranch Hand

Joined: Jun 14, 2001
Posts: 126
I have one jsp page (say, page1.jsp). When i click the 'continue button' in this jsp page, it will submit the form to another jsp page (say page2.jsp), which then passes the data to one servlet (say servlet1) which does some processing and passes to another servlet (say servlet2). This servlet dispatches the request to another jsp (say page3.jsp) which is displayed in the screen.

In short, when the continue button in page1.jsp is clicked, page3.jsp is displayed in the screen (but it goes via page2.jsp, servlet1 and servlet2).

I want to disable back button and refresh button in page3.jsp. I did some research by searching this web site and some others. I tried all the possible solutions. I feel popup window (with url of page3.jsp) may work.

I tried window.open() in page1.jsp, but the page3.jsp is displayed without any data. Can someone please give me the idea to popup the window (with url of page3.jsp) with all the data from page1.jsp. Basically it needs to go thru page2.jsp, servlet1 and servlet2.

Thanks a lot.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61606
    
  67

Moving to the HTML/Javascript forum as all of this is client-side machinations.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Uma Viswanathan
Ranch Hand

Joined: Jun 14, 2001
Posts: 126
Dear Bear Bibeault,
I am sorry if u feel that i have posted in the wrong forum (i.e JSP). I posted this in jsp forum since the problem is with jsp, javascript and servlets. Thanks a lot.
Uma Viswanathan
Ranch Hand

Joined: Jun 14, 2001
Posts: 126
Can anyone please clarify my doubt? Thanks a lot.
 
 
subject: Sending data to popup window