StrutsCatalog: Link only to Actions
In a Model 2 environment, the pages are suppose to be pretty but stupid. Flow to a page should go through an Action first, and the Action should assemble all the data that a page might need and put it into the request or session context. The page then just grabs what it needs, and figures out how to display it. The Action may not known the address of the page (that's in the config file), but it does need a punch list of what data the page may require. Every page should have an Action handler. One Action may handle several different pages, or a page could be handled by several different Actions (e.g. an error page), but each page should have at least one handler.
If a JSP ends up on your browser's address bar after the initial index page, then you're missing an Action
-- TedHusted
Comments: This is a great approach, it helps us load the Domain Values(List for Drop-Down) from database if required. We have adopted this approach in many of our projects.
-- Puneet Agarwal
Comments: With this you can also move authentication/authorizations code out of jsps(to actions). The jsp pages don't need to authenticate/authorize the user.
-- Khurshidali Shaikh
Comments: Go with that and protect your jsps under WEB-INF in order to be sure that your programmers do not forget to link only to actions, otherwise someone might just forget it and all your effort was somehow useless.
-- Guilherme Silveira from Brazil