In Visual force Page Either Action Method will fire first or Controller constructor.
2 Answers
Its outlined pretty well on the DOCS
The constructor executes first
- The constructor methods on the associated custom controller or controller extension classes are called, instantiating the controller objects.
- ......
- The page then executes any assignTo attributes on any custom components on the page. After the assignTo methods are executed, expressions are evaluated, the action attribute on the component is evaluated, and all other method calls, such as getting or setting a property value, are made.
Your controller's constructor will call first and then your apex:page action will call.