• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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.
 
Beauty is in the eye of the tiny ad.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic