• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

displaying errors by using struts validation framework

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I has small issue in displaying the error messages.
I am using struts validation framework.

I have a jsp which consists of two text fields which are mandatory. I need to check whether the text is entered or not and display the error msg for that text boxs individually.

In validation.xml, i wrote the filed as "required".

In jsp, i wrote <html:errors property="resourceskey"/> ,even the validation fails also the msg is not displayed.

But when i uses, <html:errors/> then all msg are shown.

But what i want to show thw error msg individually at text boxes.

Kindly can any one help regarding this..

Thanks and Regards,
Manohar
reply
    Bookmark Topic Watch Topic
  • New Topic