posted 20 years ago
Not sure off hand -- I don't see anything wrong in the code you posted.
You should check the session in a debugger to make sure that the value is actually removed when it gets back to the
JSP. Note that, if you use a useBean tag at the top, it automatically creates the bean for you, which may be the problem.
Neal Ford<br />Author, <i>Art of Java Web Development: Struts, Tapestry, Commons, Velocity, JUnit, Axis, Cocoon, InternetBeans, WebWork</i><br /><a href="http://www.nealford.com" target="_blank" rel="nofollow">www.nealford.com</a>