在urlrewrite.xml中配置重写的参数的时候要注意&用&代替。参数后面的值用$123456---依次代替
<rule>
<from>^/small/([0-9]+)/([0-9]+)/([0-9]+)/sort.jsp</from>
<to>
/goodsrent!getAllPsubclass.action?bigId=$1&mypsubclass=$2&currentPage=$3
</to>
</rule>
在页面上多参数的写法为:
small/${goodslist.id}/${goodslist1.id}/1/sort.jsp
x相对应的中间为你所传递的参数!!