Given:
<
jsp:useBean id="BoltsBean" class="parts.BoltsBean" scope="session" />
<jsp:setProperty name="BoltsBean" property="*" />
I seem to have the appropriate setters and getters in the BoltsBean class. From this jsp page I <jsp:forward /> to another page which does <jsp:getProperty /> on one of the named properties and it displays the value properly.
I also have a HttpSessionAttributeListener configured in the web.xml file. The attributeAdded method is notified and I seem to be able to retrieve the BoltsBean object by
public void attributeAdded(HttpSessionBindingEvent se) {
HttpSession hs = se.getSession();
String name = se.getName();
BoltsBean bb = (BoltsBean)hs.getAttribute(name);
At this point bb is not equal null(I checked), however if I try and do the getter method on the property the method returns null.
Any Ideas ???