A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to deal with this type of ActionForm
Joined: May 06, 2007
Oct 20, 2007 01:34:00
class DepositData extends ActionForm
private Patient patient=null;
//contains getters and setters
can any one tell how to deal with action class and how to retrieve
Thanks and Regards
Joined: Apr 27, 2003
Oct 20, 2007 04:44:00
In the execute method of your action class, you have access to the request and response objects! So you can add whatever you like to them and access them in your JSP!
Joined: Feb 08, 2006
Oct 22, 2007 14:27:00
The general form using html tags is property="patient.patientId". This assumes that you have matching get methods: getPatient().getPatientId().
It is sorta covered in the
JavaRanch Style Guide
subject: how to deal with this type of ActionForm
Getting cast exception....
Why is my WS expecting a XMLGregorianCalendar datatype?
Dispatch[/ActionName ] to method method1 returned an exception
detached entity passed to persist
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013