使用Url Rewrite Filter实现页面伪静态化

转自 : http://ezplus.iteye.com/blog/81080

 

 

  <rule>
            <from>/t/([0-9]+)</from>
            <to>../index.jsp?user=$1</to>
        </rule>
        
         <rule>
            <from>/blog/([0-9]+).htm</from>
            <to>../index.jsp?id=$1hh</to>
        </rule>
        
          <rule>
            <from>/(.*)/bbs/</from>
            <to>../../index.jsp?id=$1</to>
        </rule>
           <rule>
            <from>/([0-9]+)_([a-z]+).html$</from>
            <to>/index.jsp?id=$1$2</to>
        </rule>
 

你可能感兴趣的:(html,jsp,Blog,bbs)