<%@page contentType="text/html" pageEncoding="UTF-8"%> um Werte

Werte

pathInfo: <%=request.getPathInfo()%>

requestURL <%=request.getRequestURL()%>

contextPath <%=request.getContextPath()%>

servletPath <%=request.getServletPath()%>

<% String pathInfo = request.getPathInfo(); String[] path = pathInfo.split("/"); for(int i = 0; i < path.length; i++) { %>

path[<%=i%>]: <%=path[i]%>

<% } %>