|
Home > Archive > WebSphere Portal Server > June 2004 > Portal filters vs. Servlet filters
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Portal filters vs. Servlet filters
|
|
|
| We would like to set up our V5 portal server so a certain bit of Java
code gets executed once for every user session which sets some data in
the HttpSession which will be available to all of our portlets.
We could do this, we think, by implementing a "Portlet Filter", but we
are having difficulty finding clear instructions on how to configure a
portlet filter to work. Can anyone point me to some good
documentation or tell me how to do that?
Even better, we would like to implement this at a higher level than at
the portlet. Rather than having to configure each portlet to use this
filter, it would be preferable to be able to write a J2EE Servlet
filter and configure the portal servlet itself to invoke our filter
whenever a new user session is started. Is that possible? Anyone
know how?
I'm just getting my feet wet in the portal server world, so forgive my
ignorance. I'm thinking that there must be a normal HttpServlet that
is getting invoked by the portal that invokes all of our portlets. If
so, and if it is a standard J2EE Servlet then we should be able to
configure web.xml to cause the servlet to invoke a filter. But I
don't SEE the web.xml or the Servlet that represents the actual Portal
itself.
Thanks for any help you can give.
| |
| fbeirami 2004-06-23, 9:00 pm |
| I have the same problem. I appreciate any response. |
|
|
|
|