El lun, 05 de 06 de 2006 a las 16:32, Emilia Ipate escribió:
> That is true, but my question is: why does it have to be the same?
because of the java bean specification?
Leon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
maandag 5 juni 2006 16:25
> To: Struts Users Mailing List
> Subject: Re: javabeans explanation
>
>
> i think the types must be the same
> choose:
>
>
> public int getAge()
> public void setAge(int age)
>
> or
>
> public Age getAge()
> public voi
That is true, but my question is: why does it have to be the same?
-Original Message-
From: Jorge Martín Cuervo [mailto:[EMAIL PROTECTED]
Sent: maandag 5 juni 2006 16:25
To: Struts Users Mailing List
Subject: Re: javabeans explanation
i think the types must be the same
choose:
public
i think the types must be the same
choose:
public int getAge()
public void setAge(int age)
or
public Age getAge()
public void setAge(Age age)
despite this, in actionform you should use only String values. With
String values you can store wrong int values that user entered, but with
int value
4 matches
Mail list logo