I needed something to help me sleep, so I had a poke around the bean-cookie bug. Unfortunately I found nothing of real interest. I can confirm that the bug can also be found in struts-1.1-RC1 and Struts-1.0.2 (Tomcat 3.3.1; j2sdk1.4.0_01)and manifests itself in both
<jsp:getProperty name="sess" property="name"/>
and
<bean:write name="sess" property="name"/>
however
<% Cookie cookie = (Cookie)pageContext.getAttribute("sess");
out.println(sess.getName()); %>
works fine, so the bug definitely seems reflection related.
Sorry I couldn't be of more use,
Gareth
PS. IMO this bug can just be ignored since it doesn't seem struts related; its completely ancient and only affects people using an ancient container; and no-one has reported it before. However I don't think the test should be modified so that it works, instead i think the documentation should should be modified to reflect that we expect it to fail.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]