Results 1 to 5 of 5

Thread: Need to URL rewrite with Spring

  1. #1

    Default Need to URL rewrite with Spring

    Im using a J2ee application with spring framework 2.0 on a apache tomcat 5.5. I have used URL mapping to change the extension from .jsp to .htm. I have an URL which looks like this http://localhost:8080/promotion.htm?...2577560987 88 I want to change it to http://localhost:8080/13441594225281...40257756098788

    Can someone please help me out in writing a rule which will perform the required rewrite in urlrewrite.xml.

    This is what I have mentioned in web.xml
    <filter>
    <filter-name>UrlRewriteFilter</filter-name>
    <filter-class>org.tuckey.web.filters.urlrewrite.UrlRewrite Filter</filter-class> </filter>

    My urlrewrite.xml is present under WEB-INF...

    Please give your suggestions and guide me where I am going wrong...

  2. #2

    Default

    Spring experts please help me out

  3. #3

    Default

    Quote Originally Posted by itzmaximhere View Post
    Spring experts please help me out
    How about http://java.dzone.com/articles/imple...-extensionless ?
    [URL="http://vicina.info"] 新闻,社区新闻,分类广告

  4. #4

    Default

    Cudnt get it working yet... Can someone write a rule for my requirement please ....

  5. #5
    Join Date
    Nov 2010
    Location
    Athens
    Posts
    12

    Default

    hope this articles will help you. Look here and here

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •