Scott,

This does not work for the simple reasons that most portlet container (eXo
and pluto) use ServletRequestDispatcher to redirect from the portal war to
the portlet war.

Indeed using filters in included or forwarded application is only possible
in servlet containers that are 2.4 compatible (ie tomcat 5.x and NOT 4.x)

"New for version 2.4 of the Java Servlet specification is the ability to
configure filters to be invoked under request dispatcher forward() and
include() calls." (spec SRV.6.2.5 Filters and the RequestDispatcher)

Also note that you will obtain only servlet request and response objects
which is really not very usefull in a portlet application war.

Cheers,

Benjamin Mestrallet
eXo platform� project leader
eXo platform SARL manager
----- Original Message -----
From: "Weaver, Scott" <[EMAIL PROTECTED]>
To: "'Jetspeed Developers List'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; "'portlets'"
<[EMAIL PROTECTED]>
Sent: Wednesday, December 17, 2003 5:30 PM
Subject: [Exo-developers] RE: Portlets Framework


> Hi Punit,
>
> > For example
> > if we want to apply some simple filter on request, which is
> > the best place (if any) do to this? How to install common
> > portlet filters?
>
>
> Remember, a JSR-168 compliant portal supports portlet applications as
> indivdual web apps deployed to the respective servlet container, this a
> requirement of the spec. Hence, you can use servlet filters within
> individual portlet apps to attain the filter functionallity required by
each
> indivdual portlet application and the portlets contained within.  It was
> crucial to the spec that it leverage as much functionallity from the
servlet
> standard a possible so as to make portlet and servlet develop easy/similar
> as possible.
>
> Hth,
> *================================*
> | Scott T Weaver                 |
> | <[EMAIL PROTECTED]>            |
> | Apache Jetspeed Portal Project |
> | Apache Pluto Portlet Container |
> *================================*
>
> > -----Original Message-----
> > From: Punit Pandey [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, December 17, 2003 8:03 AM
> > To: [EMAIL PROTECTED];
> > [EMAIL PROTECTED];
> > [EMAIL PROTECTED]; portlets
> > Subject: Portlets Framework
> >
> >
> > Hello,
> > We are in the process of developing one framework for
> > portlets. The objective is to apply all possible patterns and
> > also try to simplify the development process.
> >
> > The biggest challenge for developing portlet-framework, seems
> > to us, is unavailability of controller servlet. In most of
> > the JSP/Servlet-frameworks (e.g struts) the request always
> > goes through the controller servlet. But in case of a portal,
> > we do not have any such control. Can anyone tell me how to do
> > some sort of request-preprocessing for a portlet? For example
> > if we want to apply some simple filter on request, which is
> > the best place (if any) do to this? How to install common
> > portlet filters?
> >
> > Regards,
> >
> > Punit Pandey
> >
> > =================================================
> > http://portlets.blogspot.com - Portlets blog
> > http://groups.yahoo.com/group/portle> ts/ - Portlets Discussion Group
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> Exo-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/exo-developers


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

Reply via email to