Java Reference
In-Depth Information
FIGURE 12-75
The following step enters the JSP code to optionally create HTML based on
the value of the admin session attribute.
To Optionally Create HTML in a JSP
1. Enter lines 197 through 239 as shown in Figure 12-75. Click the Save
button on the Standard toolbar to save the JSP file.
TextPad displays code for optionally creating HTML code in a JSP
(Figure 12-76). If the attribute, admin, is set (not null), then the
HTML code is generated; otherwise, it is not.
 
Search WWH ::




Custom Search