{
re = new DocxReprotsEngineImpl(getWorkspace(), "weather");
}
else
{
re = new PdfReprotsEngineImpl(getWorkspace(), "weather");
}
re.getReport().addStaticValue("title", HttpRequestUtils.getValue(request, "txtTitle"));
rptUrl = re.generateReport();
msg.setVisible(true);