--- [EMAIL PROTECTED] wrote:
> In the action class i defined a attribute called
>
> public PersonalDetailForm getForm() {
> return form;
> }
>
> public void setForm(PersonalDetailForm form) {
> this.form = form;
> }
>
> PersonalDetailForm form;
>
>
> and the jsp looks like
> <s:form action="doPersonal" method="POST"
> name="form">
> <s:actionerror />
> <s:fielderror />
> <s:textfield name="name" label="Name" /> <br/>
> <s:textfield name="dob" label="Date of birth" />
How would S2 know what "name" belonged to if you
didn't say "form.name" ?
Personally I think you're going about the problem the
wrong way; I'd think less in terms of S1.
d.
____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]