Adobe 38000382 JRun Guide - Page 80
status, The following example gets the status of the default and samples servers and prints
UPC - 718659575946
View all Adobe 38000382 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 80 highlights
... status Description Indicates whether the specified server is running. Returns true if the specified server is running, or false if it is not, and conditionally executes the body of the tag. Attributes Attribute server availableId available Description (Required.) The name of the server. Set this attribute to store the return value of the status tag. Set to true to execute if the server is running. Set to false to determine if the server is not running. If the return value is true, JRun executes the body of the tag. Example 1 The following example gets the status of the default and samples servers and prints the results to the body of the page: ... Status of default server: Status of samples server: ... Example 2 The following example executes the body of the status tag if the default server is running: ... Status of the default server: ... 66 Chapter 6 Using the JMC Custom Tag Library