203 Views
2 Replies
Hi friends,
WEB-INF
|---------WEB.XML
|-----CLASSES
|--------STRUTS.XML
|--------HIBERNATE.cfg
|--------com
|----ZIZA
|----------Login-validation.xml
|----------actions
|---------Login.class
the problem is.
my application is not recognizing Login-validation .xml
1)I kept Login.validation.xml along with struts.xml also. but still it is not recognizing.
2)i kept Login.validation.xml directly in com.ziza ,it is also recognizing.
3)I tried to keep direcltly in actions folder .i am getting deployment problem.
can any one help me.
regards,
aaryareddy@gmail.com
Hi,
You Should enable that in a plug-in tag of struts-config.xml and validate=true in actionmapping tag and keep it in WEB-INF/validation.xml and please check the path of validation.xml and rule.xml both in the plug in tag. just like WEB-INF/validation.xml and validation-rules.xml. If the paths are correct and you enabled int the struts config file then it should work...













