Why when I do a :
<bean:write name="addForm" property="NAME"/>

It works fine.

But if I do a 
<c:out value="${addForm.NAME}"/>
or
<c:out value="${sessionScope.addForm.NAME}"/>

I get:
[ServletException in:/app/promoFlight/add_body.jsp] An error occurred while evaluating 
custom action attribute "value" with value "${sessionScope.addForm.NAME}": Unable to 
find a value for "NAME" in object of class 
"org.apache.struts.validator.DynaValidatorForm" using operator "." (null)' 

I thought they were equivilant...

--
Sloan


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________

Reply via email to