Java Connector Tag Library for ArcIMS 9.2  

adminServer


Used in

administration  

Nested in

None

Syntax

<aims:adminServerAttribute Description Table

     Attributes that set values:
     (r)action="addContainer | removeContainer"
     (r)name="string"
     removeId="string"

     Attributes that pass objects:
     (r)connectionId="object"

     Attributes that return values:
     (r)error="string"
     addedId="string"
>

     No nested tags
</aims:adminServer >
(r): Attribute or nested tag is required.

Description


Attribute Descriptions for adminServer

AttributeUsage
actionDefines whether to add or remove an ArcIMS Spatial Server.
addedIdReturns a string identifying the new ArcIMS Spatial Server name.
connectionIdHolds information about the connection. The connection is created using aims:httpConnection or aims:tcpConnection.
errorReturns an error string if any occurred. Returns "Success" if no error.
nameThe name of the server machine to administer.
removeIdThe name of the ArcIMS Spatial Server to remove.
Back to top
 

Examples for adminServer

Example 1: Add and remove an ArcIMS Spatial Server.
<aims:httpConnection
      id="myhttpConnection"
      url="http://mymachine"
      role="admin"
      username="admin"
      password="admin"
/>

<aims:adminServer name="mymachine" action="addContainer" addedId="myId" connectionId="<%=myhttpConnection%>" error="addError" />

<%=myId%>

<aims:adminServer name="mymachine" action="removeContainer" removeId="<%=myId%>" connectionId="<%=myhttpConnection%>" error="removeError" />
Back to top