Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
ics:mirror
The
ics:mirrortag mirrors one or more mirrorlists.Syntax
<ics:mirror target="target server" username="target username" password="target password" cgiprefix="target CGI prefix" targetinifile="name of target's ini file" port="target's port number" useproxy="true|false" secure="true|false" httpversion="1|2" outputvariable="http variable/>Parameters
target (required)- Name or IP address of the target server.
username (required)- Username for the Sites installation on the target server.
cgiprefix (optional)- CGI prefix of the target server. If the CGI prefix is not specified, the remote server uses the same CGI prefix as the source machine.
targetinifile (optional)- List of property files separated by semicolons to merge on the target server. If this parameter is not specified, the default property file is used.
port (optional)- TCP/IP port for communication with the target server. If this parameter is not specified, the system defaults to port 80.
useproxy (optional)- Set this parameter to
trueto communicate via a proxy server orfalseotherwise. If not specified, no proxy server is used.
secure (optional)- Set this parameter to
trueto encrypt and transmit the mirror communication using thehttpsprotocol. If this parameter is not specified, the system defaults to unencryptedhttpto communicate with the target server.
httpversion (optional)- Specifies the
httpprotocol version to be used to communicate with the target server. Sites supports versions 1.0 or 1.1. To use 1.0, pass "1" for this parameter. To use 1.1, pass "2" for this parameter. If this parameter is not specified the system defaults tohttp1.0.
outputvariable (optional)- Name of the variable to store the http response from the target server. This variable may then used to display informational or error messages.
Description
The
ics:mirrortag mirrors one or more mirrorlists. Each mirrorlist is declared using theics:mirrorlisttag.Error Numbers
There are no possible
errnofor this tag.Example
The following example mirrors all rows of the table called
MyTableto a server calledOtherMachineusing port 7001.<ics:selectto listname="list1" table="MyTable" what="*"/> <ics:mirror target="OtherMachine" port="7001" cgiprefix="/servlet"
username="ContentServer" password="FutureTense"> <ics:mirrorlist listname="list1"/> </ics:mirror>
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.