hi
I have same problem as Ram(i.e first errir he posted)
I read whole conversation, but my error is not solved
Help me
index.jsp
<html:form action="UserAction.do">
<table>
<tr>
<td>
<bean:write name="UserForm" property="message"/>
</td>
</tr>
<tr>
<td>
<html:submit property="method"><bean:message key="Test.sum"/></html:submit>
<!--<html:link page="/CustomerAction.do?parameter=view">view</html:link>-->
</td>
</tr>
<tr>
<td>
<html:submit property="method"><bean:message key="UserForm.update"/></html:submit>
<!--<html:link page="/CustomerAction.do?parameter=create">create</html:link>-->
</td>
</tr>
<tr>
<td>
<html:submit property="method"><bean:message key="UserForm.delete"/></html:submit>
<!--<html:link page="/CustomerAction.do?parameter=delete">delete</html:link>-->
</td>
</tr>
</table>
</html:form>
UserForm
public class UserForm extends ActionForm{
private static final long serialVersionUID = 1L;
private String message;
public UserForm(){
super();
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
}
ApplicationResource
UserForm.add = Add
UserForm.update = Update
UserForm.delete = Delete
I mentioned in struts-config.xml
Error:
javax.servlet.ServletException: Missing message for key "UserForm.add" in bundle "(default bundle)" for locale en_US