@SessionAttributes

From NovaOrdis Knowledge Base
Revision as of 23:59, 14 October 2018 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

The class-level @SessionAttributes specifies any model objects that should be kept in session and made available across multiple requests.

@Controller
@SessionAttributes("sessionAttr1", "sessionAttr2")
public class ...Controller {
   // ...
}