Hi, I need to display a popup screen which gets all the details of the caller from a servlet.This page displays well.But when i click the dispose button in this popup page ,it should go to an refresh screen.But when i dispose,The details which i got in popup screen are saved in the browser and i am unable to proceed further for another popup screen for next caller's details.my code follows:
I am using get method in all the servlets and jsp.After displaying the popup screen,when i dispose,it goes to the next page .But in that page browser,I can able to see the details listed in the popup screen.
Hey do you refresh to the same dispose page or do you go back to the page where you enter the username?? the thing is you have used sessions and the username is stored in the session,everytime you execute the page,username gets taken from session,so the same users details are being retrieved. you did not close the form tag in the retrival page. This is my observation,kindly tell me if i am wrong. tc.
Author and all-around good cowpoke
Joined: Mar 22, 2000
The details which i got in popup screen are saved in the browser
Read that again - how are you sure the details are saved in the browser? What is it "in the browser" that saves the details?
You may be able to save details from a submitted form on the server side - don't confuse that with the state of the client side.
Joined: Oct 04, 2007
thanks for your replies.my fault is i am submitting all the details to the next page.instead of using