I do have an update, I changed the code around a bit and it works, but I do feel like there way a way to do it in one line like I wanted originally. For edification purposes I am now doing:Setting like this:Page page = <Page>; request.setAttribute("page", page.getPath());Getting like so:String page ...