You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ashokd <as...@visualsoft-tech.com> on 2002/02/02 01:17:28 UTC
ActionForm methods Naming Conventions - Urgent
Hi,
Their is any naming conventions for ActionForm methods ?
I got a problem with this.
First I used like below then I got the problem(NumberFormatException:
getTName()
setTName()
Later I changed to
getTableName();
setTableName();
By using above two method names the exception gone.
Any one can help on this.
Thanks & Regards,
Ashok.D
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: ActionForm methods Naming Conventions - Urgent
Posted by Iris <ir...@enix.org>.
When you have
String getTName()
void setTName(String tName)
in your ActionForm, you use them in your JSP like
<html:text property="tName" ..... >
This help you ?
Iris
ashokd wrote:
>Hi,
>
>Their is any naming conventions for ActionForm methods ?
>
>I got a problem with this.
>
>First I used like below then I got the problem(NumberFormatException:
>getTName()
>setTName()
>
>Later I changed to
>
>getTableName();
>setTableName();
>
>By using above two method names the exception gone.
>
>Any one can help on this.
>
>Thanks & Regards,
>Ashok.D
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org