[jboss-dev-forums] [Design of JBoss Portal] - Re: standardjboss-portlet.xml and Bridge Interceptor

yxyang do-not-reply at jboss.com
Sun Sep 3 21:31:05 EDT 2006


Hi Julien

THanks for your useful indication:
anonymous wrote : By default normally all portlets uses the bridge interceptor.
  | 

However, when i use the following code to access the servlet context:

  | new JBossServletContextProvider().getServletContext(this)
within the 
public void init(PortletConfig config2) throws PortletException{....} method, i got the following exception:
anonymous wrote : java.lang.IllegalStateException: No bridge set

Why? Please help. I am using jboss portal 2.2.1. 
Any example for using the bridge interceptor to get the servlet context?

thanks
yang




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

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



More information about the jboss-dev-forums mailing list