applicationScope"

From Documentation
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
== applicationScope - java.util.Map ==
+
{{ZUMLReferencePageHeader}}
  
A map of custom attributes associated with the Web application. It is the same as the <tt>getAttributes</tt> method in the <javadoc type="interface">org.zkoss.zk.ui.WebApp</javadoc> interface.
+
= applicationScope - java.util.Map =
  
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.
+
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].
  
If the client is based on HTTP, such as a Web browser, this is the same map of attributes stored in <mp>javax.servlet.ServletContext</mp>. In other words, you could use it communicate with other servlets, such as JSF.
+
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.
  
[[Category:Implicit Objects]]
+
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.



Last Update : 2022/07/04

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.