%!
struct server_spec_type
{
int max_conn;
int cur_conn;
int peak_conn;
};
struct server_spec_stack
{
int req_no_total_stateless;
int req_no_total_group;
int req_no_total_stateful;
int req_no_act_stateless;
int req_no_act_group;
int req_no_act_stateful;
string req_no_timesection[16];
string req_per_min_stateless[16];
string req_per_min_group[16];
string req_per_min_stateful[16];
int resp_time_last;
int resp_time_avg;
int resp_time_min;
int ping_time_last;
boolean operational;
boolean valid;
boolean active;
boolean responding;
int capacity;
boolean capacity_is_fixed;
int load;
int load_static;
string error_text;
};
struct wdisp_host_info_type
{
string name;
string host_name;
string http_port;
string https_port;
boolean has_abap;
boolean has_j2ee;
struct server_spec_stack stack[2];
struct server_spec_type http;
struct server_spec_type https;
};
struct wdisp_group_info_type
{
string name;
string pref_server;
string last_server;
string next_server;
int no_server;
};
struct wdisp_url_type
{
string prefix;
string virt_host;
string logon_group;
string stack;
int flags;
};
%>
<%
int host_count, group_count, url_count, nr;
int tabsel;
string what, browser, group, str, cap, systemID, systemID_show;
struct wdisp_host_info_type wdisp_host_info[];
struct wdisp_group_info_type wdisp_group_info[];
struct wdisp_url_type wdisp_url_map[];
systemID = htmlenc(__icm_get_form_field ("systemID"));
if (systemID != "000") {
systemID_show = " (" + systemID + ")";
}
group_count = __wdisp_get_groups (wdisp_group_info, systemID);
tabsel = __icm_get_form_field ("tabsel");
if ((tabsel < 0) || (tabsel > group_count))
tabsel = 0;
browser = __icm_get_browser_type();
what = anumenc(__icm_get_form_field ("what"));
group = wdisp_group_info[tabsel].name;
host_count = __wdisp_get_host_info (group, wdisp_host_info, systemID);
url_count = __wdisp_get_url_map (wdisp_url_map, systemID, group);
%>
Table test
<%
for (nr = 0; nr < host_count; nr++) {
%>
<%
}
%>