Hi Carsten,

Carsten Ziegeler wrote:
Filip Defoort wrote:
I guess it's not easy to do :) Now, putting your jsr-168 based portals
into the cocoon webapp is a proprietary way and not standard conform.
Usually, you should put your portlets into an own webapp (which has an
own classloader). So perhaps this might help you.
Yes, that's what I've done so far. I'm just trying to access the login information
from inside of my portlets so I can look up the access rights and so on..
In the case, that you need/want to run those portlets in the cocoon
webapp, you could try to create a wrapper for the portlet servlets. The
Cocoon portal uses Pluto and Pluto requires a servlet for the deployed
portlets; so you could write a wrapper for this servlet which gets the
classloader from Cocoon and uses this classloader. You could share the
classloader between the portlets by putting it into the servlet context.
I'm not sure if this really works, but it sounds doable.
I'll give this a try - will let you know if it works...

Thanks a lot for the hint,
- Filip
HTH
Carsten



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to