Liferay is a Gartner Magic Quadrant Leader for the Sixth Year! Find out why


Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Andy Harb
FriendlyURLServlet Hook
June 3, 2013 4:33 PM

Andy Harb

Rank: Junior Member

Posts: 66

Join Date: October 22, 2009

Recent Posts


I am in the process of upgrading our Liferay 6.0 instance into LR 6.1. As part of it I'm trying to shift everything I can out of the EXT environment and into Hooks. One of the changes that was made was overriding the "/com/liferay/portal/servlet/" with our own implementation.

I was wondering if it was possible to override this Servlet using a hook and if so the approach to take. I have read some things regarding Servlet Filter hooks but I don't think they apply for what I need.

Any pointers or advice would be greatly appreciated.

Bart Simpson
RE: FriendlyURLServlet Hook
June 3, 2013 9:54 PM

Bart Simpson

Rank: Liferay Master

Posts: 524

Join Date: August 29, 2011

Recent Posts

If you'd checkout the dtd
for hooks in 6.1 you'd notice
1<!ELEMENT servlet-filter (servlet-filter-name, servlet-filter-impl,
so it should be working