hi !

i have a struts-portlet-application which works fine.
it's include the portals-bridges-struts-0.2.jar.

if i want to debug an see what happend in the bridge
i includes the java-files aof the bridge:

package org.apache.portals.bridges.struts and following..

also i included the 
org.apache.portals.bridges.common.ServletContextProvider class because
the StrutsPortlet need it.

when i start the application now i get a exception from the StrutsPortlet 
in line 140.

coming from this if-statement:

        Object obj = clazz.newInstance();
                    if (ServletContextProvider.class.isInstance(obj))
                    {
                        servletContextProvider = (ServletContextProvider) 
obj;
                    }
                    else
                        throw new PortletException("class not found");

it goes into the else.
but i dont understand the problem at the moment.
why is obj not a instance of ServletContextProvider?


it would be very nice if someone could help me.

thomas

Reply via email to