title: Can you use JSTL c:if to test against a url pattern?
body: <p>I'm trying to have a JSP conditional that operates on the current URL. Basically I want to do something if the URL ends in <code>/my-suffix</code>, NOT including the query string etc. So I need to test against a substring of the url that's right in the middle.</p>
  
  <pre><code>&lt;c:if test="url not including query string+ ends with '/my-suffix'"&gt;
    do something...
  &lt;/c:if&gt;
  </code></pre>
  
  <p>Is there a way to do this? </p>