Results 1 to 2 of 2

Thread: Best practice for displaying error messages in a global jsp

  1. #1
    Join Date
    Jun 2010
    Posts
    13

    Default Best practice for displaying error messages in a global jsp

    Hi,
    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?
    Thanks

  2. #2
    Join Date
    Oct 2008
    Posts
    3

    Default

    I am also facing this problem.

    Any hints or tips?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •