Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

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

vydehi vajanapally
Posts: 9
  • 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.
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!