String createTemplateServerRequest ( String servletPath , String templateName ) { String pathInfo = servletPath . substring ( servletPath . indexOf ( "/" , TEMPLATE_LOAD_PROTOCOL . length ( ) ) ) ; if ( templateName != null ) { pathInfo = pathInfo + templateName ; } return pathInfo ; }
turns a template name and a servlet path into a