Using Visualization Platform client Java servlets
Java servlets extend web server functionality. Visualization Platform client uses Java servlets to manage binary content and to perform tasks such as uploading and downloading binary files. Actuate provides an abstract framework of servlets that provide common functionality to Visualization Platform client. You cannot modify the Actuate Java servlets.
base servlet
Some Actuate servlets derive from the base servlet:
com.actuate.reportcast.servlets.AcServlet
The base servlet has no URI parameters. It provides Actuate servlets with the functionality for performing the following tasks:
*Parse and validate parameters specified in Visualization Platform client URI directives.
*Create XML API structures based on Visualization Platform client requests.
*Submit XML streams to the Actuate SOAP API.
*Handle responses from the Actuate SOAP API, including detecting errors.
*Store constant session information, such as the name space and SOAP endpoint.
*Read from and write to cookies.
*Stream report data or errors to the web browser.
Invoking a servlet
Invoke servlets using the following syntax:
http://<application server>:<port>/<context root>/servlet/<servlet alias>
*application server is the name of the machine hosting the application server.
*port is the port on which the application server listens for requests.
*context root is the Visualization Platform client context root.
*servlet is a keyword indicating that a servlet follows.
*servlet alias is the name to which the servlet is mapped in the Visualization Platform client installation’s web.xml file. A typical location for web.xml is C:\Program Files (x86)\Actuate\iHub\web\iportal\WEB-INF\web.xml.
Servlet names are case-sensitive. Do not modify the servlets, their names, or their mapping in web.xml.