Announcement Announcement Module
Collapse
No announcement yet.
Need to URL rewrite with Spring Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?...40257756098788 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
    Spring experts please help me out

    Comment


    • #3
      Originally posted by itzmaximhere View Post
      Spring experts please help me out
      How about http://java.dzone.com/articles/imple...-extensionless ?

      Comment


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

        Comment


        • #5
          hope this articles will help you. Look here and here

          Comment

          Working...
          X