Hello,
Thank you for the idea. It crossed my mind too but I was to much
focussed on the HttpServletResponse side. In the same bean I also set
all information about the PDF in the HttpServletResponse. But with your
idea I will give up the idea to put everything in a bean. I think that I
will
rong?). I make it a remote bean so I can define it with an @EJB
> annotation or through a JNDI lookup. This does not work because the
> FacesContext is null:
> HttpServletResponse response = (HttpServletResponse) FacesContext.*
> *getCurrentInstance().**getExternalContex
t a remote bean so I can define it with an
@EJB annotation or through a JNDI lookup. This does not work because the
FacesContext is null:
HttpServletResponse response = (HttpServletResponse)
FacesContext.getCurrentInstance().getExternalContext().getResponse();
I tried to find how to get the