ymoreno
Joined: 11/05/2009 00:00:00
Messages: 4
Offline
|
I have my servlet to launch a pdf file using itext, is configured in web.xml, and in the bean i call
HttpServletRequest request = (HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
request.getSession().setAttribute("pdfGenerado", pdfGenerado);
JavascriptContext.addJavascriptCall(FacesContext.getCurrentInstance(),
"window.open('/wps/myportal/foco/Impresor?pdf=','_blank');");
i don't found any example, PLEASEEEEE i'm going crazy and is very urgent, thank's a lot
|