Sep 22nd, 2010, 01:18 PM
Best practice for displaying error messages in a global jsp
I am trying to display form validation messages in a separate jsp file that is at the top of the page. This jsp will be common to page layout and shared by all forms to dsiplay validation errors.
I tried using
spring:hasBindErrors tag, it didn't work since I have to specify command object name, I couldn't use it for every form
<form:errors path="*" > doesn't write out anything.
What is the best way to achieve this?
Nov 4th, 2011, 02:55 PM
I am also facing this problem.
Any hints or tips?