[jboss-user] [JBoss Seam] - Re: how to use part of URL as parameter

fers do-not-reply at jboss.com
Fri Mar 16 15:08:56 EDT 2007


You can try to use URL Rewriter. 
There are few to pick. I recommend my own :-)
http://software.softeu.cz/rewriter/

You create rewriter-config.xml and write
<rewriter-config xmlns:b="http://rewriter.softeu.cz/basic/">
    <b:regex>
        ^/service/(.*)?param=(.*)$
        /service.seam??func=$1&param=$2
    </b:regex>
</rewriter-config>

And you need to add filter to web.xml

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028925#4028925

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028925



More information about the jboss-user mailing list