Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

How to valdate password and confirm password using validation framework in struts2?

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jsp:


validation.xml:


but it didn't work, it can't compare password with confirm password. Where am I wrong?
thanks in advance.
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe it's the name:

The name of the file must be ActionClass-validation.xml, where ActionClass is the name of the action class must be validate, and must be in the same directory.

Maybe, is some issue in the interceptors.

Sorry, but i am very new too in struts 2.

Greetings
 
Kurt Xu
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Juan Acv wrote:Maybe it's the name:

The name of the file must be ActionClass-validation.xml, where ActionClass is the name of the action class must be validate, and must be in the same directory.

Maybe, is some issue in the interceptors.

Sorry, but i am very new too in struts 2.

Greetings



The file name is right, I just don't give the full name here.
thanks.
 
Today you are you, that is turer than true. There is no one alive who is youer than you! - Seuss. Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic