Back Forward save JavaServer Page tag

JavaServer Pages tags

Use the save tag to set up named values at runtime, while the source HTML (or XML) is processed, onto an internal symbol table known as the scratchpad. This in-memory scratchpad is available throughout the generation of the HTML (or XML) stream.

Use the save JSP tag to add a name-value pair to the scratchpad. Use the $save( name) JavaScript function to retrieve the value previously associated with the name. Retrieving the value does not remove it from the scratchpad.

Example

Complete syntax

Definitions scratchpad, stream processing
Related topics How stream processing works

UpJavaServer Pages tags