You create the filter how ? With New Class wizard ? then that class just need to be on the classpath.
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?
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.
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.