org.jfree.chart.servlet
Class DisplayChart
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.jfree.chart.servlet.DisplayChart
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class DisplayChart
- extends javax.servlet.http.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:
DisplayChart
com.jrefinery.chart.servlet.DisplayChart
DisplayChart
/servlet/DisplayChart
- Author:
- Richard Atkinson
- See Also:
- Serialized Form
Method Summary |
void |
init()
Init method. |
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Service method. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DisplayChart
public DisplayChart()
- Default constructor.
init
public void init()
throws javax.servlet.ServletException
- Init method.
- Throws:
javax.servlet.ServletException
- never.
service
public void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Service method.
- Parameters:
request
- the request.response
- the response.
- Throws:
javax.servlet.ServletException
- ??.
java.io.IOException
- ??.