Click to See Complete Forum and Search --> : browser back button
laxmi
01-13-2004, 03:57 AM
Hi,
I have two jsps. If I click on jsp1, I will go to jsp2 , enter some data in a text box which is preceeded by a check box,
and save. After saving, control comes to jsp1.
But now, if I click browsers back button , it is going to jsp2, but the of checkbox,textbox, are not proper.
How to handle this?
Thanks,
Laxmi
hammerslane
01-14-2004, 04:46 AM
can you explain your problem as if you were telling a child?
laxmi
01-14-2004, 05:17 AM
sorry hammerslane, but this is not the expected answer.
I want to be more clear.
if you have understood, why don't you clear my query?
hammerslane
01-14-2004, 05:20 AM
well i can't really answer your query because i find your question confusing, and that's probably the reason no one else has cleared your query.
but the of checkbox,textbox, are not proper.
How to handle this? - this is what i don't understand...
i would like to help, and the question looks like something i might be able to help you with, so could you ask the question a bit more clearly?
thanks
laxmi
01-14-2004, 05:46 AM
I repeat again, clearly:
I have two jsps. If I click on jsp1, I will go to jsp2 , enter some data in a text box which is preceeded by a check box,
and save. After saving, control comes to jsp1.
Now, if I click browsers back button , it is going to jsp2.
My condition in jsp2 , is if I check the check box, the text box should enable, and vice versa.
But here the check box is unchecked, and the textbox is enabled.
This case is occurring only , when I click browers back button.
Thanks for your patience
Laxmi
ray326
01-14-2004, 12:49 PM
This isn't really an HTML question. The question really is, "How do I maintain state in a Java web application?" The answer is, "You use the session to maintain information that needs to servive a particular request chain." You'll also need to use cache disabling techniques to try to force the browser to go back to the server when the back button is clicked.