
/**//**
* @see javax.servlet.http.HttpServlet#void (javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
*/
public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException

...{
resp.setContentType("application/pdf");
ServletOutputStream out = resp.getOutputStream();
try

...{
// initialize JFreeReport
Boot.start();
ReportConfiguration.getGlobalConfig().setLogLevel("Error");
// update the log system to use the new settings ...
Log.getJFreeReportLog().init();
final URL in =
getClass().getResource("/acme/web/resources/swing-icons.xml");
if (in == null)

...{
throw new Exception("swing-icons.xml can't be found.");
}
final JFreeReport report = parseReport(in);
report.setData(new
RSS订阅




