I get following error if I push the submit button.
javax.servlet.ServletException: Cannot find bean error in any scope
I have following in my JSP File
<tr>
<td>Lastname</td>
<td><struts-html:text property="lastname"/></td>
<td>
<struts-html:messages id="error" property="lastname">
<struts-bean:write name="error"/>
</struts-html:messages>
</td>
</tr>
I want to produce an error message beside the input field if the input field
is empty. If I delete the line <struts-bean:write name="error"/> the program
works but there is no error message
Any idea?
Richard Markham