Re: getting formbean properties in Action class

2006-12-09 Thread Chris Pratt
change"); PropertyUtils.seetSimpleProperty(aForm, "exchange","NASDAQ"); Thanks, Nuwan. - Original Message - From: "Thomas Thomas" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, December 03, 2006 2:35 PM Subject: getti

Re: getting formbean properties in Action class

2006-12-03 Thread Nuwan Chandrasoma
ruts Users Mailing List" 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("la

getting formbean properties in Action class

2006-12-03 Thread Thomas Thomas
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.