wood burning stoves 2.0*
The moose likes Struts and the fly likes Location for  ActionClass-validation.xml in web directory structure. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Location for  ActionClass-validation.xml in web directory structure." Watch "Location for  ActionClass-validation.xml in web directory structure." New topic
Author

Location for ActionClass-validation.xml in web directory structure.

Javedali Shaikh
Greenhorn

Joined: Sep 13, 2008
Posts: 12

HI Friends!!
I am confused where shall I kept this ActionClass-validation.xml in directory structure. I tried all the locations but the validations are not working. Here is I am sending the details of directory structure. Please help, any help will be appreciated.

BHT
--src
--com\dee\bht\domain\LogIn-validation.xml
--com\dee\bht\domain\LogIn.java

The location for validator.xml is
  • validator.xml
  • WEB-INF/classes

    The code for LogIn-validation.xml is


    Code for validator.xml is

    The code for web.xml is
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Location for ActionClass-validation.xml in web directory structure.
     
    Similar Threads
    struts validation
    Struts2 Validation - Number?
    struts2 simple program, but Error 500--Internal Server Error
    Struts 2.1.8 validation.xml & internationalization
    Struts 2 client side validation not working with xml configuration