title: URL characters replacement in JSP with UrlRewrite
body: <p>I am using <strong><a href="http://tuckey.org/urlrewrite/" rel="nofollow noreferrer">UrlRewrite</a></strong> in a <strong>JSP</strong> project over <strong>JBoss</strong>. I have configured some rules, so that stuff like:</p>
  
  <pre>http://mysite/parameter</pre>
  
  <p>Is read as:</p>
  
  <pre>http://mysite/index.jsp?parameter=parameter</pre>
  
  <p>And so on.</p>
  
  <p>Now, what I would like to know if there's a way to replace certain characters submitted in the URL by the users with others. Something like what Wikipedia does. When you use a space in the URL in WikiPedia, it's replaced by a "-".</p>
  
  <p>Is UrlRewrite the right tool for this? I also have a few filters around, but I guess I shoul be able to accomplish this with UrlRewrite or a similar tool.</p>