Hi, I have a problem. I need to call a sevlet from an action in my bean. This servlet need two parameters sending in POST method. I can run de servlet, but i cant't pass the parameter/attributes. The code i use is:
FacesContext context = FacesContext.getCurrentInstance(); ExternalContext ectx = context.getExternalContext(); HttpServletRequest request = (HttpServletRequest)ectx.getRequest(); HttpServletResponse response = (HttpServletResponse)ectx.getResponse(); request.setAttribute(âxmlstrâ,InfBean.getXmlstr()); request.setAttribute(âxlstâ,âc:\\jbossâ); RequestDispatcher dispatcher = request.getRequestDispatcher(â/fop/fopâ); Can anybody help me! Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113668#4113668 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113668 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user