Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.52 KB | None | 0 0
  1. protected void printPagePopUpDownload(ServletOutputStream os, String fileName)
  2.       throws IOException, ServletException {
  3.     if (log4j.isDebugEnabled())
  4.       log4j.debug("Output: PopUp Download");
  5.     String href = strDireccion + "/utility/DownloadReport.html?report=" + fileName;
  6.     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
  7.         "org/openbravo/base/secureApp/PopUp_Download").createXmlDocument();
  8.     xmlDocument.setParameter("href", href);
  9.     os.println(xmlDocument.print());
  10.     os.close();
  11.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement