Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to check if session variable value is changed

843836May 18 2005 — edited May 18 2005
Hi All,

I have a jsp file which adds a record to table.On successful insertion it goes to main page and shows a alert with successful insertion message.

Now from here if user goes to some other page and clicks back button the alert is displayed again as it is a session variable.I want the alert to be displayed only once after the insertion.

Is there a way where I can find that if variable value is changed and display once.Not display again.

Please suggest.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 15 2005
Added on May 18 2005
5 comments
330 views