ArcIMS Learning HTML Viewer Customized notes (1. Overview & Process) __html

Source: Internet
Author: User

1. When you create a Web site using ArcIMS Designer, the HTML viewer,arcims for this site is automatically generated designer the site is generated in POSR installation defined Website Directory
The question is whether the JSP application server and the ArcIMS server can be placed on two servers respectively.

2. The reason for choosing HTML Viewer is that users do not need to add data to the map themselves, and only use and use only one image service.

3.HTML Viewer File Organization:

Arcimsparam.js contains a series of JavaScript variables that define the look and behavior of the site, and a lot of customization is done here;

HTML Web page
Process:
Default.htm-for Web portal (check browser version, IE, NetScape 4.0 or above) if not supported browsers, transfer to
Cannotrun.htm, such as support transfer

Run.htm-defines two frame:
Mapframe (authorize.htm)
Postframe (jsform.htm)//The size of this Frame is zero, implied

When you define two frame, onload checks permissions, sends requests request AXL
The processing function of response Axl in authorize.htm
The main definition here is authorization.
Processauthorization () for response if there is no mistake, then ignore, directly into the viewer.htm

Viewer.htm-Defines the program main frame


Jsform.htm-Defines the form name= "Theform" to Type= "POST" to send requests for request AXL
INPUT name= "arcxmlrequest" Placement request AXL
The **> jsform.htm file contains a function passxml (), which is null when the request is submitted, and after the servlet response returns, the Servlet generation return page inserts a function contained in the Postframe file Passxml () with variable var Xmlresponse contains the Response AXL of the server response, while the function also invokes Processxml () Response AXL () of Mapframe.
function Passxml () {
var xmlresponse= ' <?xml version= "1.0" .... </ARCXML> ';
Parent. Mapframe.processxml (Xmlresponse);
}

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.