Using Information Console Java servlets
Java servlets extend web server functionality. Information Console 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 Information Console. 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 Information Console URI directives.
*Create XML API structures based on Information Console 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 Information Console context root.
*servlet is a keyword indicating that a servlet follows.
*servlet alias is the name to which the servlet is mapped in the Information Console installation’s web.xml file. A typical location for web.xml is C:\Actuate3\BIRTiHubVisualization\modules\BIRTiHub\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.