File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Kurt Xu
Ranch Hand
Posts: 32
  • 0
  • 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.
 
Juan Acv
Greenhorn
Posts: 18
  • 0
  • 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
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic