I want to create SEO friendly url in my project. Then I found
URLRewriteFilter library. I add the neccessary setting to my web.xml
file and in my urlrewrite.xml file i created this rule..
<outbound-rule>
<from>^/world.jsp?country=([a-z]+)&city=([a-z]+)$</from>
<to>/world/$1/$2</to>
</outbound-rule>
it's from the urlrewritefilter manual.
in my jsp page i create the following line to create the link..
<a href="<%= response.encodeURL("/world.jsp?country=usa&city=nyc")
%>">nyc</a>
But it didn't change as manual says.. is there any other setting
should be made to make work this.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "UrlRewrite" group.
To post to this group, send email to
urlrewrite@...
To unsubscribe from this group, send email to
urlrewrite-unsubscribe@...
For more options, visit this group at
http://groups.google.com/group/urlrewrite?hl=en-~----------~----~----~----~------~----~------~--~---