File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
    Bookmark Topic Watch Topic
  • New Topic

display validation message as an alert in jsp which uses struts 2 validation.xml

vydehi vajanapally
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
I created a validation xml and i mentioned those error messages in package.resources.

Now I want to display those error messages(when i click on submit button) as java script alerts on the page.

Please help me how to merge javascript function with the struts validation messages.

and how/when to call this alert message with code.
I agree. Here's the link:
    Bookmark Topic Watch Topic
  • New Topic