struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Daniell" <>
Subject possible bug in struts?
Date Mon, 26 Jan 2004 20:55:00 GMT
I've encountered a strange problem with Struts when used with Torque. I
retrieve an object using the following:

ArrayList list = (ArrayList)ComponentPeer.doSelect(new Criteria());
request.setAttribute("components", list);
Component c = (Component)list.get(0);
request.setAttribute("comptest", c);

In the logs this will appropriately print the name of the object "c".
However, when I invoke the following JSP
<c:out value="${}"/>

I get the following Exception:

HTTP ERROR: 500 An error occurred while evaluating custom action attribute
"value" with value "${}": An error occurred while getting
property "name" from an instance of class
(java.lang.IllegalArgumentException: object is not an instance of declaring

Any advice appreciated.

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