2002 5:55 AM
> To: [EMAIL PROTECTED]
> Subject: Re: struts get and set methods in formbeans
>
> Subject: Re: struts get and set methods in formbeans
> From: "David Bolsover" <[EMAIL PROTECTED]>
> ===
> Hi Jose.
>
> Check out the standard rule
Subject: Re: struts get and set methods in formbeans
From: "David Bolsover" <[EMAIL PROTECTED]>
===
Hi Jose.
Check out the standard rules for JavaBeans - generally:
private String foo;
public String getFoo(){
return this.foo;
}
public void setFoo(String foo){
this.foo = foo;
ons
> (501) 277-3112
> [EMAIL PROTECTED]
>
>
>
> > -----Original Message-----
> > From: Jim Crossley [SMTP:[EMAIL PROTECTED]]
> > Sent: Tuesday, March 26, 2002 9:10 AM
> > To: Struts Users Mailing List; [EMAIL PROTECTED]
> > Subject: Re: AW: struts get a
l Message-
From: Jose Casas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 11:16 AM
To: 'Struts Users Mailing List'
Subject: RE: AW: struts get and set methods in formbeans
Thanks for the replies. Does anybody else have an opinion as to which
is
right?
Thanks.
Jose Casas
112
[EMAIL PROTECTED]
> -Original Message-
> From: Jim Crossley [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, March 26, 2002 9:10 AM
> To: Struts Users Mailing List; [EMAIL PROTECTED]
> Subject: Re: AW: struts get and set methods in formbeans
>
> I don't think
To: Struts Users Mailing List; [EMAIL PROTECTED]
> Subject: Re: AW: struts get and set methods in formbeans
>
> I don't think that's correct. As long as you refer to the "password"
> property in your JSP, you may use getPassword/setPassword, regardless
>
on: Jose Casas [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 26. März 2002 15:42
> An: 'Struts Users Mailing List'
> Betreff: struts get and set methods in formbeans
>
>
> Hello,
>
> I got a question about the get and set methods in the form beans. Does the
>
Yes it has to be the same, if you have "test" you have to implement
getTest() and setTest()
-Ursprüngliche Nachricht-
Von: Jose Casas [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 26. März 2002 15:42
An: 'Struts Users Mailing List'
Betreff: struts get and set
Hello,
I got a question about the get and set methods in the form beans. Does the
get or set method need to have the name of the member variable in it?
For example, if I have a member variable named userPassword do I have to
have a get/set method called getuserPassword/setuserPassword or can I p
9 matches
Mail list logo