1 Reply Latest reply on Dec 20, 2011 7:03 AM by Aslak Knutsen

    URL rewriting is not working in Jboss AS7

    Ajay Tiwari Newbie

      Hi All



      I am using jboss AS7. I am trying to write a rewrite url for my application, But it is not working.



      I made changes in my standalone.xml file under <virtual-server> tag

            <rewrite pattern="^/HelloWorld/resources/([0-9]+)$/(.*)$" substitution="/HelloWorld/resources/$1" flags="F"/>



      but when i hardcode any value in place of ([0-9]+)$ it works.



      So why my pattern is not working.



      Please Help me out in this.