#set ($urlForThisPage = $req.getServletPath()) #if ($urlForThisPage.indexOf("recentlyupdated.action") != -1) Recently Updated · #else Recently Updated · #end #if ($urlForThisPage.indexOf("listpages-alphaview.action") != -1) Alphabetical View · #else Alphabetical View · #end #if ($urlForThisPage.indexOf("listpages-dirview.action") != -1) Tree View #else Tree View #end