• 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

What Are the Causes for Validation Not Doing Anything?

 
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. I have this plug-in by the very end of the
struts-config.xml file:

2. I have this action mapping in the struts-config.xml
file:

3. I have this <form-bean> inside the <form-beans> element in the struts-config.xml file:

4. I have the validation.xml file in the AppName/WEB-INF directory

4.1. I changed the beginning of the validation.xml file to
"http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd"

4.2 my validation.xml file code is shown below

The validation does not do anything. I intentionally left all text fields blank to submit the form. The Struts did not give me any warning regarding the text fields were not filled out.


[ September 22, 2004: Message edited by: JiaPei Jen ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic