applicationScope"
From Documentation
m |
m |
||
Line 1: | Line 1: | ||
{{ZUMLReferencePageHeader}} | {{ZUMLReferencePageHeader}} | ||
− | + | = 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 the <tt>getAttributes</tt> method in the <javadoc type="interface">org.zkoss.zk.ui.WebApp</javadoc> interface. | ||
Line 9: | Line 9: | ||
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. | 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. | ||
− | + | =Version History= | |
{| border='1px' | width="100%" | {| border='1px' | width="100%" |
Revision as of 11:25, 18 November 2010
applicationScope - java.util.Map
A map of custom attributes associated with the Web application. It is the same as the getAttributes method in the WebApp 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.
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 communicate with other servlets, such as JSF.
Version History
Version | Date | Content |
---|---|---|