Liferay Symposium 2016 | Reserve your seat today.
(Opens New Window)
Mark as an Answer
How to access the custom filter when using the Virtual Host URL to request
March 7, 2013 1:37 AM
Rank: New Member
Join Date: March 7, 2013
1. I have added a filter( BrowserFilter ) to check the browser the requester use
2. Set the Virtual-Host( moblie.local.com) and friendly URL(/home)
3. Use the virtual host address to request server(like: moblie.local.com:8080, and I had added the break points in "BrowserFilter.java")
4. The request had forward to the Virtual-Host address in VirtualHostFilter.java and did not access my custom filter.
I wonder if I can make the request to access my own filter first before "VirtualHostFilter", or other solutions can make the custom filter be called first.
I hope I have express myself clearly. thanks.
Sign in to vote.
Please sign in to flag this as inappropriate.