-
1. Re: Portlet Filters when creating a new portlet
maxandersen Mar 4, 2009 1:56 AM (in response to prabhat.jha)You create the filter how ? With New Class wizard ? then that class just need to be on the classpath.
-
2. Re: Portlet Filters when creating a new portlet
prabhat.jha Mar 4, 2009 2:56 PM (in response to prabhat.jha)I tried to create filter using DeploymenetDescriptors->Filter->New Filter.
I was thinking that adding portlet facet to dynamic project should add the class in the list of super classes. But I don't see javax.servlet.Filter either which should be available in most of web projects.
Which jar does get applied to the classpath when you add portal facet to a dynamic web project? -
3. Re: Portlet Filters when creating a new portlet
maxandersen Mar 4, 2009 3:41 PM (in response to prabhat.jha)ah so this is for servlet filters - i thought portal filters were something specific ?
you can see the classpath on the project in the project explorer. -
4. Re: Portlet Filters when creating a new portlet
snjeza Mar 4, 2009 4:51 PM (in response to prabhat.jha)You will have javax.portlet.filter if you add portlet 2.0 jar. This jar is placed in JBoss EPP 4.3.0 and JBoss Portal 2.7.1.
servlet-api.jar contains javax.servlet.Filter within the JBoss Server Runtime.
See http://screencast.com/t/gMr1IO19