< Day Day Up > |
This example shows the process of creating a new server behavior so you can see the files that Dreamweaver generates and how to handle them. For details about working with the Server Behavior Builder interface, see "Adding Custom Server Behaviors" in Getting Started with Dreamweaver The example displays "Hello World" from the ASP server. The Hello World behavior has only one participant (a single ASP tag) and does not modify or add anything else on the page. To create the behavior, you perform the following steps:
Creating the dynamic page documentFirst, you create a new ASP document. To create a new dynamic page document:
Defining the new server behaviorNext, you define the new server behavior. To use the Server Behavior Builder to define your new server behavior: NOTE If the Server Behaviors panel is not open and visible, select the Window > Server Behaviors menu option.
Defining the code to insertFinally, you define the code to insert. To define the code to insert:
In the Server Behaviors panel, you can see that the Plus (+) menu contains the new server behavior in the pop-up list. Also, in the installation folder for your Dreamweaver files, the Configuration/ServerBehaviors/ASP_Js folder now contains the following three files:
NOTE If you are working in a multiuser configuration, these files appear in your Application Data folder. |
< Day Day Up > |