| java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet de.progra.charting.servlet.ChartServlet
ChartServlet | public class ChartServlet extends HttpServlet (Code) | | This Servlet returns image files of diagrams to be embedded in HTML/JSP
pages. The Servlet expects the following parameters:
- "imageType" Parameter (either GET or POST), one of "gif", "jpeg", "png"
- defines the image format to be returned
- "chart" Attribute (stored in SessionContext),
DefaultChart
object to be rendered
This class will be extended to allow easier rendering without assembling
the whole DefaultChart object. If the ChartServlet is deployed correctly
you can embed it e.g. with
<img src="/charting/ChartServlet?imageType=gif" alt="PieChart as GIF Image"> .
author: mueller version: 1.0 |
destroy | public void destroy()(Code) | | Destroys the servlet.
|
getServletInfo | public String getServletInfo()(Code) | | Returns a short description of the servlet.
|
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|