• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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.
 
Did you just should on me? You should read this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic