Show TOC Start of Content Area

Background documentation Data Exchange between JSPDynPage and JSP  Locate the document in its SAP Library structure

The storing methods we discuss in this section are volatile in the sense that the data is lost when the session is over (or even before that). Generally you have to decide if the data you provide in the JSP DynPage should be shared among other users and how long the data must "live". For storing data permanently you can refer to the Profile documentation.

Storing data can be performed using:

·        beans

A bean is defined with set and get methods. The bean can be accessed from the JSP DynPage and the JSP as well as from other users (depending on the scope, see "Usage of Beans").

·        session

Data stored in the http session will be kept by the server as long as the user session is alive.

·        context

The lifetime of data stored in the context cannot be guaranteed. The context can be released any time when the web server needs resources.

·        request

Data stored in the request are kept for the request.

 

 

End of Content Area