Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 95630 invoked from network); 28 Jan 2004 21:18:23 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 28 Jan 2004 21:18:23 -0000 Received: (qmail 54230 invoked by uid 500); 28 Jan 2004 21:17:40 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 54213 invoked by uid 500); 28 Jan 2004 21:17:40 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 54126 invoked from network); 28 Jan 2004 21:17:39 -0000 Received: from unknown (HELO msx.drei.com) (213.94.78.66) by daedalus.apache.org with SMTP; 28 Jan 2004 21:17:39 -0000 Received: from msx.drei.com ([10.249.20.17]) by msx.drei.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 28 Jan 2004 22:04:33 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Torque and Struts problem Date: Wed, 28 Jan 2004 22:04:33 +0100 Message-ID: <90B3A0967470D44CB8FDE74907512328F1B9C7@av1s008.at-work.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Torque and Struts problem Thread-Index: AcPkRki2KBw7NDGTQIOLj64j93FtWwBm9d+Q From: =?iso-8859-1?Q?=22G=F6schl=2CSiegfried=22?= To: "Apache Torque Users List" X-OriginalArrivalTime: 28 Jan 2004 21:04:33.0538 (UTC) FILETIME=[54405E20:01C3E5E2] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Paul, it seems more a Struts problem than Torque but you could have a look at = the compiled JSP pages. Maybe you are using an older BEA WebLogic ... = :-) ... I had my share of surprises recently ...=20 Cheers, Siegfried Goeschl -----Original Message----- From: Paul Daniell [mailto:pdaniell@ign.com] Sent: Monday, January 26, 2004 8:39 PM To: torque-user@db.apache.org Subject: Torque and Struts problem I've encountered a strange problem with Struts when used with Torque. I = retrieve an object using the following: ArrayList list =3D (ArrayList)ComponentPeer.doSelect(new Criteria()); request.setAttribute("components", list); Component c =3D (Component)list.get(0); request.setAttribute("comptest", c); System.out.println(c.getName());=20 In the logs this will appropriately print the name of the object "c". = However, when I invoke the following JSP ... I get the following Exception: HTTP ERROR: 500 An error occurred while evaluating custom action = attribute "value" with value "${comptest.name}": An error occurred while = getting property "name" from an instance of class = org.ttemplating.internal.dataobjects.Component = (java.lang.IllegalArgumentException: object is not an instance of = declaring class) Any advice appreciated.=20 Paul =20 --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org