I am using spring framework 3. I have a form for posting comments to the article. When the form is submitted, it is checked if there any errors. In case there is no errors, cont
Try using the view of the page of the "add comment" form instead of redirecting to the view that displays the new comment:
if(result.hasErrors()) { return "commentForm"; }
You may also have to add @ModelAttribute Comment in the method signature...
@ModelAttribute Comment