8. Enter any necessary variables by clicking the Add (+) button in the Variables area and entering the
values under each column: Name, Type, Direction, Size, Default Value, and Runtime Value.
9. Click OK when you??™re finished.
NOTE NOTE
NOTE NOTE
1075
Handling Server Behaviors 34
Special JSP server behaviors
A number of server behaviors are only available for sites based on the JSP server model. An important feature
of JavaServer Pages is the capability to use JavaBeans. JavaBeans are Java components or classes that
process events and transmit results to the calling program and other JavaBeans. Dreamweaver offers two
JavaBean-related server behaviors: JavaBean and JavaBean Collection.
Prepared (Insert/Update/Delete)
JSP users may employ what??™s referred to as a Prepared command to insert, update, or delete data sources.
To use a Prepared command, follow these steps:
1. From the Server Behaviors panel, click the Add (+) button and choose Prepared
(Insert/Update/Delete) from the list. The Prepared (Insert/Update/Delete) dialog box, shown in
Figure 34-23, is displayed.
FIGURE 34-23
You can include three different types of Prepared statements??”Insert, Update, or Delete??”
as JSP data sources.
2. In the Name field, enter a unique name that will appear in the Server Behaviors panel.
Pages:
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821