-
1. Re: Servlet Filter issue with Jboss Portal 2.6
nidhi_hs Aug 7, 2007 10:33 AM (in response to nidhi_hs)Someone please help me on this. Its urgent !!
-
2. Re: Servlet Filter issue with Jboss Portal 2.6
theute Aug 7, 2007 10:57 AM (in response to nidhi_hs)It's the default behavior...
Try to go on: http://localhost:8080/portal/auth/portal/admin
To convince yourself.
(BTW, For urgent matters, there is a support service that we provide) -
3. Re: Servlet Filter issue with Jboss Portal 2.6
nidhi_hs Aug 7, 2007 12:21 PM (in response to nidhi_hs)I dont think you got my requirement correctly. Basically my requirement is to intercept a request when a page is clicked and do some processing. I am using servlet filters for that purpose and its not working.
Is servlet filter supported ? -
4. Re: Servlet Filter issue with Jboss Portal 2.6
nidhi_hs Aug 8, 2007 8:31 AM (in response to nidhi_hs)I am still stuck with this problem. Anybody knows why this is not working ??
-
5. Re: Servlet Filter issue with Jboss Portal 2.6
theute Aug 8, 2007 8:43 AM (in response to nidhi_hs)Your need to tell web.xml that you want to invoke the filter on forward and include. Otherwise only the filters applied on the portal-server context will be invoked
-
6. Re: Servlet Filter issue with Jboss Portal 2.6
nidhi_hs Aug 8, 2007 8:46 AM (in response to nidhi_hs)Could you please tell me how do I specify in web.xml. Currently I have the filter specified in web.xml with url pattern as "/*".
-
7. Re: Servlet Filter issue with Jboss Portal 2.6
theute Aug 8, 2007 8:56 AM (in response to nidhi_hs)I don't remember exactly the syntax, if you google a bit you should find it.
-
8. Re: Servlet Filter issue with Jboss Portal 2.6
swisst Aug 28, 2007 12:04 PM (in response to nidhi_hs)<filter-mapping> <filter-name>myfilter</filter-name> <servlet-name>includedservlet</servlet-name> <dispatcher>INCLUDE</dispatcher> <dispatcher>FORWARD</dispatcher> </filter-mapping>
-
9. Re: Servlet Filter issue with Jboss Portal 2.6
mhinten Jan 18, 2008 5:01 AM (in response to nidhi_hs)I had the same problem.
An old thread, but for completeness sake: Kudos to swisst. It works. -
10. Re: Servlet Filter issue with Jboss Portal 2.6
yanivc24 Aug 11, 2008 11:00 AM (in response to nidhi_hs)Hi
I have the same problem on JBOSS 4.2.2 GA portal 2.6.4, I added the FORWARD and include but it still does not work.
Any suggestions?
Thanks,
Yaniv