The system function sysLib.clearRequestAttr removes the argument that is associated with the specified key in the request object. This function is useful in page handlers and in programs that run in Web applications.
You can set an argument in the request object by using the system function sysLib.setRequestAttr. You can retrieve the argument by using the system function sysLib.getRequestAttr.
Related concepts
PageHandler part
Related reference
sysLib.getRequestAttr
sysLib.setRequestAttr
The system function sysLib.clearSessionAttr removes the argument that is associated with the specified key in the session object. This function is useful in page handlers and in programs that run in Web applications.
You can set an argument in the session object by using the system function sysLib.setSessionAttr. You can retrieve the argument by using the system function sysLib.getSessionAttr.
Related concepts
PageHandler part
Related reference
sysLib.getSessionAttr
sysLib.setSessionAttr
The system function sysLib.getRequestAttr uses a specified key to retrieve an argument from the request object into a specified variable. This function is useful in page handlers and in programs that run in Web applications.
If an object is not found with the specified key, the target variable is unchanged. If the retrieved object is of the wrong type, an exception is thrown and the program or page handler terminates.
You can place an argument in the request object by using the system function sysLib.setRequestAttr. The argument object placed in the servlet's request collection is available for access as long as the servlet request is valid. Submitting a form from a page causes the creation of a new request.
Related concepts
PageHandler part
Related reference
sysLib.setRequestAttr
The system function sysLib.getSessionAttr uses a specified key to retrieve an argument from the session object into a specified variable. This function is useful in page handlers and in programs that run in Web applications.
If an object is not found with the specified key, the target variable is unchanged. If the retrieved object is of the wrong type, an exception is thrown and the program or page handler terminates.
You can place an argument in the session object by using the system function sysLib.setSessionAttr.
Related concepts
PageHandler part
Related reference
sysLib.setSessionAttr
The system function sysLib.setRequestAttr uses a specified key to place a specified argument in the request object. This function is useful in page handlers and in programs that run in Web applications. You can retrieve the argument later by using the system function sysLib.getRequestAttr.
In the generated Java output, item arguments are passed as primitive Java objects (String, Integer, Decimal, and so on). Record arguments are passed as record beans. Arrays are passed as an array list of the associated type. The argument object is placed in the servlet's request collection and is available for access as long as the servlet request is valid. Submitting a form from a page causes the creation of a new request.
Related concepts
PageHandler part
Related reference
sysLib.getRequestAttr
The system function sysLib.setSessionAttr uses a specified key to place a specified argument in the session object. This function is useful in page handlers and in programs that run in Web applications. You can retrieve the argument later by using the system function sysLib.getSessionAttr.
In the generated Java output, item arguments are passed as primitive Java objects (String, Integer, Decimal, and so on). Record arguments are passed as record beans. Arrays are passed as an array list of the associated type.
Related concepts
PageHandler part
Related reference
sysLib.getSessionAttr
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.