I wouldn't be able to tell is your code is correct or not without also seeing your ActionForm bean, the relevant portion of your struts-config.xml file, and the relevant portion of the
JSP.
Here is code from a sample page that I have tested and can verify that it works.
struts-config.xml validation.xml testRating.jsp