File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes How to valdate password and confirm password using validation framework in struts2? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to valdate password and confirm password using validation framework in struts2?" Watch "How to valdate password and confirm password using validation framework in struts2?" New topic
Author

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

Kurt Xu
Ranch Hand

Joined: Sep 29, 2009
Posts: 32
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

Joined: Apr 02, 2010
Posts: 18
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

Joined: Sep 29, 2009
Posts: 32
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
 
subject: How to valdate password and confirm password using validation framework in struts2?
 
Similar Threads
struts 2 validation and prevent double submit
error in validation
problems validation.xml in struts 2
validation in struts2
Struts 2.1 error message breaks page html formatting