s="blockList">
<h4>getServletPath</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getServletPath()</pre>
<div class="block">Returns the part of this request's URL that calls the servlet. This path starts with a "/" character and includes
 either the servlet name or a path to the servlet, but does not include any extra path information or a query string.
 Same as the value of the CGI variable SCRIPT_N