The system function J2EELib.getRequestAttr uses a specified key to retrieve an argument from the request object into a specified variable. This function is useful in PageHandlers 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 PageHandler terminates.
You can place an argument in the request object by using the system function J2EELib.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.
J2EELib.getRequestAttr( key STRING in, argument attribute inOut)
Related concepts
Syntax diagram for EGL functions
PageHandler
Related reference
EGL library J2EELib
setRequestAttr()