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

Reply via email to