1. A computer-based system including a computer processor for a distributed web application, comprising: a page flow model that controls behavior of the distributed web application; one or more page groups, wherein each page group is a set of related and interacting web application files, wherein each page group contains control logic that implements navigation decisions using one or more action methods, wherein each action method is a method that contains an action annotation, wherein at least one said action method in a page group contains a forward annotation that indicates a name of a web application file within the page group, wherein the action method returns a forward object that indicates to the page flow model the web application file the action method wants to navigate to, and wherein the forward object is constructed based on the forward annotation.