Save This Page
Home » jcommon-1.0.13 » org.jfree » chart » servlet » [javadoc | source]
org.jfree.chart.servlet
public class: DisplayChart [javadoc | source]
java.lang.Object
   javax.servlet.GenericServlet
      javax.servlet.http.HttpServlet
         org.jfree.chart.servlet.DisplayChart

All Implemented Interfaces:
    Serializable, Servlet, ServletConfig

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>
Constructor:
 public DisplayChart() 
Method from org.jfree.chart.servlet.DisplayChart Summary:
init,   service
Methods from javax.servlet.http.HttpServlet:
service
Methods from javax.servlet.GenericServlet:
destroy,   getInitParameter,   getInitParameterNames,   getServletConfig,   getServletContext,   getServletInfo,   getServletName,   init,   init,   log,   log,   service
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.chart.servlet.DisplayChart Detail:
 public  void init() throws ServletException 
    Init method.
 public  void service(HttpServletRequest request,
    HttpServletResponse response) throws IOException, ServletException 
    Service method.