Apache Struts 2 Documentation > Home > FAQs > Should the framework call getModel multiple times as a page renders
Added by tm_jee, last edited by Ted Husted on Jul 22, 2006  (view change) show comment

Right now, the expression language (OGNL) will call getModel, or any other Value Stack property, each time the method is referenced. One possible enhancement to the framework would be to enable caching, to avoid redundant calls when you know the value will not change.