I wonder if we could pull these from rs instead? At a minimum I would suggest adding in a parameter for the context that is available on the JSP.