• 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

Validation Framework is not working...?

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

I am trying to do validations for my form.. but it is not working for me.. I tried it so many times and searched so many sites.. But there is no change.. Please rectify me if there are any mistakes in my application.

Thanks in advance
Lalitha




DetailsForm.xml
----------------


Validation.xml
----------



struts-config.xml
-------------



ApplicationResources.properties
-------------------------


 
Ranch Hand
Posts: 329
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Lalitha Kotha wrote:I tried it so many times


What have you tried?
Struts provide client side and server side validation which one are you trying to achieve?
Since you have most of it in validation.xml => UI validation. Do 'View source' on the loaded page for which you are trying to validate and see if struts has painted the related javascript which is included in the validation.xml.
If this javascript validation methods are available then post the JSP code as well.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic