applicationScope"
From Documentation
Maya001122 (talk | contribs) |
|||
(10 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{ZUMLReferencePageHeader}} | |
− | + | = applicationScope - java.util.Map = | |
− | A Web application is | + | A map of custom attributes associated with the Web application. It is the same as calling [https://www.zkoss.org/javadoc/latest/zk/org/zkoss/zk/ui/WebApp.html#getAttributes-- WebApp.getAttributes]. |
− | + | A web application is a WAR, and each web application has an independent set of custom attributes. These attributes are used mainly to communicate among different desktops and sessions. | |
− | + | If the client is based on HTTP, such as a Web browser, this is the same map of attributes stored in <code>javax.servlet.ServletContext</code>. In other words, you could use it to communicate with other servlets, such as JSF. | |
+ | |||
+ | |||
+ | {{ZUMLReferencePageFooter}} |
Latest revision as of 05:44, 4 July 2022
applicationScope - java.util.Map
A map of custom attributes associated with the Web application. It is the same as calling WebApp.getAttributes.
A web application is a WAR, and each web application has an independent set of custom attributes. These attributes are used mainly to communicate among different desktops and sessions.
If the client is based on HTTP, such as a Web browser, this is the same map of attributes stored in javax.servlet.ServletContext
. In other words, you could use it to communicate with other servlets, such as JSF.