The IlvMapServlet class

The IlvMapServlet class is a concrete servlet class that handles HTTP requests to build an image of a diagram.
This class accepts one parameter: the project file which refers to the XML data file and the style sheet on which the diagram is based. This parameter can be specified at initialization time (as a static configuration parameter of the servlet) or dynamically in the request URL.
IlvMapServlet provides support for client-side image maps. The image map can be used to attach actions to every node or link displayed in the diagram.
IlvMapServlet extends IlvDiagrammerServlet, it uses the same protocols as IlvManagerServlet to communicate with clients. IlvMapServlet is also subclass of IlvSDMServlet and inherits its session capabilities. Depending on the value of the multiSession configuration parameter, the JViews Maps servlet can work in either mono-session or multi-session mode. By default, the servlet runs in mono-session mode. See Mono-session and multi-session modes for more information.
Mono-session and multi-session modes
Name
Description
Mono-session
If multiSession is set to false , one SDM engine and one SDM view, including one grapher, are created. All the requests to the servlet return an image of the same shared diagram. This option is appropriate if the users are not allowed to modify the contents of the diagram or if the changes should be visible by all users.
Multi-session
If multiSession is set to true , a new SDM engine, and its associated SDM view and grapher, is created for every different client session connected to the servlet. This mode is appropriate if users are allowed to modify the XML file or the style sheet.