Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes default validator and short-circuit attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "default validator and short-circuit attribute" Watch "default validator and short-circuit attribute" New topic
Author

default validator and short-circuit attribute

MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
I didnt get the meaning of following two statements from http://struts.apache.org/2.x/docs/validation.html

1. The framework will also search up the inheritance tree of the action to find default validations for interfaces and parent classes of the Action.

2. If you are using the short-circuit attribute and relying on default validators higher up in the inheritance tree, make sure you don't accidentally short-circuit things higher in the tree that you really want!

Can you please help me understanding it.


I am slow but sure
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: default validator and short-circuit attribute