|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
net.sourceforge.jsurveyor.ReportOutput
Most of the standard code is taking from an example that Sean C. Sullivan made on this page: http://www.onjava.com/pub/a/onjava/2003/06/18/dynamic_files.html This converts the data from report into a pdf document.
| Constructor Summary | |
ReportOutput()
This is the deafult constructor for ReportOutput |
|
| Method Summary | |
java.io.ByteArrayOutputStream |
generatePDFDocument(javax.servlet.http.HttpServletRequest req,
javax.servlet.ServletContext ctx)
The method generates a pdf document, getting all data from report, and setting it up. |
| Methods inherited from class javax.servlet.http.HttpServlet |
service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReportOutput()
| Method Detail |
public java.io.ByteArrayOutputStream generatePDFDocument(javax.servlet.http.HttpServletRequest req,
javax.servlet.ServletContext ctx)
throws com.lowagie.text.DocumentException
req - HttpServletRequestctx - ServletContext
com.lowagie.text.DocumentException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||