This article briefly introduces the bank objects in JSP:
1. pagecontext
2. pagination, requestscope, sessionscope, applicationscope
3. Param, paramvalues
4. header, headervalues
5. Cookie
6. initparam
1. pagecontext: http://download.oracle.com/javaee/1.4/api/javax/servlet/jsp/PageContext.html#getRequest%28%29
2. pagination, requestscope, sessionscope, applicationscope
These objects are used to access the values of variables within the corresponding range.
3. Param and paramvalues
Extract the value from the rerquest object.
4. header, headervalues
Obtain the header information in the request.
5. Cookie
6. initparam
Obtain custom parameters in Web. xml. For example, define in the web. xml file:
Code:
<Context-param> <br/> <description> the author of the website </description> <br/> <param-Name> developer </param-Name> <br/> <param-value> jefferyxu </param-value> <br/> </context-param>
How to use it?
<Body> <br/> the developer :$ {initparam. developer} <br/> </body>