<< Click to Display Table of Contents >>

viewer.ozcommandurl

Sets the web page URL that will receive the event value when the viewer is run as the EXE type.

Reference

To use the event feature in the EXE type viewer, you have to create a Web page that receives events and then set this parameter value to the web page URL.

Encode the web page that receives events to UTF-8 and also encode the event's return value to UTF-8.

The generated event type is returned by the request.getParameter("command") function. The return value of the event is returned to the request.getParameter("oz_args#") function. The oz_args# is a serial number that starts from 1. For the returned number for each event, refer to the description of each event.

Web page example

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

...

request.setCharacterEncoding("UTF-8");

String eventType = request.getParameter("command");

...

String returnValue1 = request.getParameter("oz_args1");

String returnValue2 = request.getParameter("oz_args2");

...

See Also

Viewer Event