I need to transform a site to be SEO friendly. I'm using UrlRewriteFilter. As I understand it, for the outbound url to be translated by UrlRewriteFilter, I have to use either the scriptlet <%= response.encodeURL("something.do?param1=value1¶m2=value2") or the jstl <c:url value="something.do?param1=value1¶m2=value2" /> and these urls can then be translated properly to /something/value1/value2 automatically by UrlRewriteFilter.
so my question is, how can I go about translating the url.
By the way, I assign the document.form.action upon onClick in the button like the following.