File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "default validator and short-circuit attribute" Watch "default validator and short-circuit attribute" New topic

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

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:
subject: default validator and short-circuit attribute
It's not a secret anymore!