This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

bean value persists on clicking back

 
Aniruddh Joshi
Ranch Hand
Posts: 275
Eclipse IDE jQuery Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic