/** * @author ishaikh * */ package com.transformuk.bdt.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; @Controller public class BaseController { @RequestMapping(value = { "/cookies**" }, method = RequestMethod.GET) public String cookiesPage() { return "cookies"; } @RequestMapping(value = { "/privacy**" }, method = RequestMethod.GET) public String privacyPage() { return "privacy"; } }