File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Session scope form bean problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Session scope form bean problem" Watch "Session scope form bean problem" New topic

Session scope form bean problem

namita sasa
Ranch Hand

Joined: Apr 20, 2009
Posts: 56
In struts config, I have defined the bean scope as session(not request). Now, after submitting data to the database, I want to clear all attributes from session scope. I did that and saw that the attributes are not in session but when hit the back button and refresh the form, it again shows up with the previously filled values.
If I removed it from session scope, why it still shows up? May be because bean scope is session??
I agree. Here's the link:
subject: Session scope form bean problem
jQuery in Action, 3rd edition