applicationScope"

From Documentation
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
= applicationScope - java.util.Map =
 
= 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 <javadoc type="interface">org.zkoss.zk.ui.WebApp</javadoc> interface.
+
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.
+
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 <mp>javax.servlet.ServletContext</mp>. In other words, you could use it to communicate with other servlets, such as JSF.
+
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.
  
=Version History=
 
 
{| border='1px' | width="100%"
 
! Version !! Date !! Content
 
|-
 
| &nbsp;
 
| &nbsp;
 
| &nbsp;
 
|}
 
  
 
{{ZUMLReferencePageFooter}}
 
{{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.