javax.servlet.http.HttpServletResponse)
*/
public void doPost(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException

...{
doGet(req, resp);
}

/**//**
* Reads the report from the swing-icons.xml report template.
*
* @param templateURL The template location.
*
* @return A report.
* @throws ElementDefinitionException if the report generator encountered an error.
* @throws IOException if there was an IO error while reading from the URL.
*/
private JFreeReport parseReport(final URL templateURL)
throws IOException, ElementDefinitionException

...{
final ReportGenerator generator = ReportGenerator.getInstance();
return generator.parseReport(templateURL);
}
}
#endregionCode highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com///- swing-icons.xml
![]()
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE report-definition PUBLIC
![]()
"-//JFreeReport//DTD report definition//EN//extended"
![]()
"http://jfreereport.sourceforge.net/extreport.dtd"><!--
![]()
***************************************************************** --><!-- * Swing-Icons.XML
![]()
* --><!-- * A sample report definition used as
![]()
an introduction to * --><!-- * JFreeReport.
![]()
* --><!-- ***************************************************************** --
![]()

RSS订阅





