Re: Can u help me...I have a problem related to struts.

2005-08-02 Thread Jeff Beal
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

Re: Can u help me...I have a problem related to struts.

2005-08-02 Thread Swapnil Patil
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) {

Re: Can u help me...I have a problem related to struts.

2005-08-02 Thread Wendy Smoak
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

Re: Can u help me...I have a problem related to struts.

2005-08-02 Thread Dave Newton
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

RE: Can u help me...I have a problem related to struts.

2005-08-02 Thread Johnson, Kaerstin
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

Re: Can u help me...I have a problem related to struts.

2005-08-02 Thread Swapnil Patil
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

RE: Can u help me...I have a problem related to struts.

2005-08-02 Thread BHansard
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

RE: Can u help me...I have a problem related to struts.

2005-08-02 Thread Johnson, Kaerstin
: 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'