applicationScope"

From Documentation
m (Created page with '== applicationScope - java.util.Map == A map of custom attributes associated with the Web application. It is the same as the <tt>getAttributes</tt> method in the <tt>org.zkoss.zk…')
 
 
(17 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 <tt>org.zkoss.zk.ui.WebApp</tt> interface.
 
  
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.
+
= applicationScope - java.util.Map =
  
If the client is based on HTTP, such as a Web browser, this is the same map of attributes stored in <tt>javax.servlet.ServletContext</tt>. In other words, you could use it communicate with other servlets, such as JSF.
+
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].
[[Category:Implicit Objects]]
+
 
 +
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.



Last Update : 2022/07/04

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