org.jfree.chart.servlet
Class DisplayChart

java.lang.Object
  extended byHttpServlet
      extended byorg.jfree.chart.servlet.DisplayChart

public class DisplayChart
extends HttpServlet

Servlet used for streaming charts to the client browser from the temporary directory. You need to add this servlet and mapping to your deployment descriptor (web.xml) in order to get it to work. The syntax is as follows:

<servlet> <servlet-name>DisplayChart</servlet-name> <servlet-class>org.jfree.chart.servlet.DisplayChart</servlet-class> </servlet> <servlet-mapping> <servlet-name>DisplayChart</servlet-name> <url-pattern>/servlet/DisplayChart</url-pattern> </servlet-mapping>

Author:
Richard Atkinson
See Also:
Serialized Form

Constructor Summary
DisplayChart()
          Default constructor.
 
Method Summary
 void init()
          Init method.
 void service(HttpServletRequest request, HttpServletResponse response)
          Service method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayChart

public DisplayChart()
Default constructor.

Method Detail

init

public void init()
          throws ServletException
Init method.

Throws:
ServletException - never.

service

public void service(HttpServletRequest request,
                    HttpServletResponse response)
             throws ServletException,
                    java.io.IOException
Service method.

Parameters:
request - the request.
response - the response.
Throws:
ServletException - ??.
java.io.IOException - ??.