[jboss-user] [JBoss Portal] - Calling a servlet from bean

purna_cherukuri do-not-reply at jboss.com
Mon Dec 11 05:09:43 EST 2006


Hi,

I am using jboss-portal with myfaces.  

I have an application which contain a managed bean.  When i click one button,  it will call bean method.  From that method i have to access a Servlet which is in other application.  So wht should i do?  

I tried to use dispatch method like below, but it is giving me IllegalStateException.  

  | FacesContext.getCurrentInstance().getExternalContext().dispatch(url);
  | 
Plz give some clues

Thanks in advance..



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992715#3992715

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992715



More information about the jboss-user mailing list