In Struts, you can confire a global prefix and suffix in a resource bundle file. Something like:
errors.prefix=<div class="error">
errors.suffix=</div>
So <div class=”error”> will be added before each <html:errors and </div> will be added after each one.
So how can i get the same effect by using Spring form tags <form:errors ?
regards,
There is a workaround, but you have to implement a custom MessageSource
Now you have to define your custom MessageSource
regards,