Adding path-parsing to the ViewServlet.