tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helen Ge <>
Subject Can't find struts DynaActionForm property with JSTL <c:out >
Date Wed, 16 Jul 2003 14:50:00 GMT
I am using Struts DynaActionForm object dataForm (session scope) to hold a
form data. It is no problem to display that form bean property in the JSP
page by using the Struts bean tag <bean:write name="dataForm"
property="check_id"  />.
However I'd like see how the JSTL works by using JSTL without specifying
scope <c:out value="${dataForm.check_id}"  />, it gave me exception like
javax.servlet.ServletException: An error occurred while evaluating custom
action attribute "value" with value "${dataForm.check_id}": Unable to find a
value for "check_id" in object of class
"org.apache.struts.action.DynaActionForm" using operator "." (null)
If I specify the sessionScope as <c:out
value="${sessionScope.dataForm.check_id}"  />, then there is no exception
thrown, but no value returned from check_id property.
I am using Tomcat 4.04, I have JSTL 1.0 installed. 
Can someone help me out ?

Notice of Confidentiality:  The information included and/or attached in this
electronic mail transmission may contain confidential or privileged
information and is intended for the addressee.  Any unauthorized disclosure,
reproduction, distribution or the taking of action in reliance on the
contents of the information is prohibited.  If you believe that you have
received the message in error, please notify the sender by reply
transmission and delete the message without copying or disclosing it. 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message