URL Rewriter

URL Rewriter is a tool for rewriting URL in Servlet.
Download

URL Rewriter Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Petr Ferschmann
  • Publisher web site:
  • http://software.softeu.cz/rewriter/

URL Rewriter Tags


URL Rewriter Description

URL Rewriter is a tool for rewriting URL in Servlet. URL Rewriter is a tool for rewriting URL in Servlet. It is similar to mod_rewrite. This project is written in Java and it is licensed under LGPL.< span style='color:blue' >< b >Here are some key features of "URL Rewriter":< /b >< /span >< br/ >· Easy installation· Easy extension. You can easily write new tags.· Maven support.< b >Installing Rewriter< /b >If you are not using Maven you need to add this two jars to classpath (eg. WEB-INF/lib/): softeu-rewriter-1.1.jar and xom-1.1.jar.If you are using Maven add dependency to pom.xml:< !-- url rewriter -- >< dependency > < groupId >cz.softeu< /groupId > < artifactId >softeu-rewriter< /artifactId > < version >1.1< /version > < scope >runtime< /scope >< /dependency >this library is not yet in main Maven repository, so add SoftEU repository to pom.xml:< repositories > < repository > < id >softeu-repo< /id > < url >http://maven.softeu.cz/< /url > < /repository >< /repositories >Add to web.xml:< !-- url rewriter -- >< filter > < filter-name >RewriterFilter< /filter-name > < filter-class >cz.softeu.rewriter.RewriterFilter< /filter-class >< /filter >< filter-mapping > < filter-name >RewriterFilter< /filter-name > < url-pattern >/*< /url-pattern >< /filter-mapping >Create WEB-INF/rewriter-config.xml:< rewriter-config xmlns:b="http://rewriter.softeu.cz/basic/" > < b:regex > < from >^/news/(.*)$< /from > < to >/news.jsf?id=$1< /to > < /b:regex >< /rewriter-config >


URL Rewriter Related Software