Hi,

I use the property utils,

PropertyUtils.getSimpleProperty(aForm, "exchange");

PropertyUtils.seetSimpleProperty(aForm, "exchange","NASDAQ");

Thanks,

Nuwan.


----- Original Message ----- From: "Thomas Thomas" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Sunday, December 03, 2006 2:35 PM
Subject: getting formbean properties in Action class


Hi,

To get the properties these two ways work :

1) System.out.println("lastName   = " + custForm.get("login"));

2) System.out.println("lastName   = " + request.getParameter("login"));

Why should I use 1) rather than 2) ?

Thank u.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to