Hi Friends,
I have a FormBean AccountForm and javabean Account
public class AccountForm{
private Account account;
// setter and getter method for account
}
public class Account{
private String account_no;
// setter and getter for account_no
}
Then I have the following test.jsp
<html:html>
<HEAD>
<TITLE>test.jsp</TITLE>
</HEAD>
<BODY>
<nested:form action="test.do" >
<TABLE border="1">
<TBODY>
<TR>
<TD>
<nested:nest property="account">
<nested:write property="account_no"/>
</nested:nest>
</TD>
</TR>
</TBODY>
</TABLE>
</nested:form>
</BODY>
</html:html>
When I run test.jsp I get the following error
Servlet Error: No getter method for property
account.account_no of bean AccountForm:
javax.servlet.jsp.JspException: No getter method for
property account.account_no of bean AccountForm.
Where am I making the mistake?
-Sanjay
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>