Hopefully by now you've read the aforementioned JavaBeans
specification. It does say that if the method name has two
consecutive capital letters after get and set, the property name is
not de-capitalized. So, for your method getSTitle, the property name
should also be STitle. If the name of your
My code is like this.
public class GraphStep1Form extends ActionForm
{
String sTitle;
boolean bTest;
Collection col;
public boolean isBTest() {
return bTest;
}
public String getSTitle() {
return sTitle;
}
public void setSTitle(String title) {
From: "Swapnil Patil" <[EMAIL PROTECTED]>
I had tried with the variable names like
String sTitle;
boolean bTest;
and both times I got same type of exception. but supricing it works for
( col is declared as Collection in the Form)
Not surprising at all. :) The secret is in the JavaBeans sp
Swapnil Patil wrote:
I had tried with the variable names like
String sTitle;
boolean bTest;
and both times I got same type of exception. but supricing it works for
( col is declared as Collection in the Form)
You must follow the JavaBean naming conventions. For sTitle what does
your get
Can you post the code from your form bean?
-Original Message-
From: Swapnil Patil [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 02, 2005 11:50 AM
To: Struts Users Mailing List
Subject: Re: Can u help me...I have a problem related to struts.
I had tried with the variable names like
hnson, Kaerstin" <[EMAIL PROTECTED]>
>
> 08/02/2005 11:34 AM
> Please respond to
> "Struts Users Mailing List"
>
>
> To
> , "Swapnil Patil" <[EMAIL PROTECTED]>
>
>
> cc
>
>
>
> Subject
> RE: Can u
ED]>
"Johnson, Kaerstin" <[EMAIL PROTECTED]>
08/02/2005 11:34 AM
Please respond to
"Struts Users Mailing List"
To
, "Swapnil Patil" <[EMAIL PROTECTED]>
cc
Subject
RE: Can u help me...I have a problem related to struts.
So
: Swapnil Patil [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 02, 2005 11:13 AM
To: Johnson, Kaerstin
Subject: Can u help me...I have a problem related to struts.
Hi Johnson,
I am vary sorry for mailling on your personal email address.I had
posted my problem on the mailing list but till now don'
8 matches
Mail list logo