Home > Contents > Index >
ics:mirror
The
ics:mirror
tag 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
true
to communicate via a proxy server orfalse
otherwise. If not specified, no proxy server is used.
secure (optional)
- Set this parameter to
true
to encrypt and transmit the mirror communication using thehttps
protocol. If this parameter is not specified, the system defaults to unencryptedhttp
to communicate with the target server.
httpversion (optional)
- Specifies the
http
protocol 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 tohttp
1.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:mirror
tag mirrors one or more mirrorlists. Each mirrorlist is declared using theics:mirrorlist
tag.Error Numbers
There are no possible
errno
for this tag.Example
The following example mirrors all rows of the table called
MyTable
to a server calledOtherMachine
using 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, 2019, Oracle and/or its affiliates. All rights reserved.