@SessionAttributes

From NovaOrdis Knowledge Base
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 {
   // ...
}