The moose likes JSP and the fly likes bean value persists on clicking back Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "bean value persists on clicking back" Watch "bean value persists on clicking back" New topic

bean value persists on clicking back

Aniruddh Joshi
Ranch Hand

Joined: Jul 29, 2008
Posts: 275

Hi All,
I have a jsp search screen with 4 checkboxes say a,b,c,d.
The problem occurs in the following steps
1) I check a and b and submit the request . App navigates to results screen.
2) I come back to search screen, a and b are checked. I uncheck them and check c and d , submit form to see results screen.
3) Click back from to go back to search screen.
Problem :: this time, all a,b,c and d are checked.

My jsp code :

search.jsp :

and the checkboxes :


Please help

"One of the best things you could do is to simplify a larger application into a smaller one by reducing its process and complexity - Fowler"
I agree. Here's the link: http://aspose.com/file-tools
subject: bean value persists on clicking back
Similar Threads
How to Introduce a Button That Controls All Other Links in a Web Page
using ajax and struts iterate tags
JspTranslate: End of content reached while more parsing required: tag nesting error?.
logic:present not working??????
problem with action mapping