aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "bean value persists on clicking back" Watch "bean value persists on clicking back" New topic
Author

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 :




results.jsp:




Please help

Anrd
"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