In my application "id" attribute is int type of "Group" bean.
In my JSP I have written like that :- <s:textfield name="group.id" value="%{group.id}"/> Now if user puts a string into this text field, then error message come like that *invalid value for the field group.id But I want to show the error message with only "id" not "group.id". Is there anybody, who can show me any example how to do that. *