Struts2 provides an application scope for variables that are global to the application.
#application ( spring, , ). : #application.greeting , . , , , - . , , - .
. , -, . , . , XML, , , , , , , ... , , sitemesh. , , , , JS, , ( - JS- JS ).
Asside 2. , freemarker , . , , .