A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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().
I agree. Here's the link:
subject: how to deal with this type of ActionForm
Getting cast exception....
Why is my WS expecting a XMLGregorianCalendar datatype?
detached entity passed to persist
Dispatch[/ActionName ] to method method1 returned an exception
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014