Wait, I take that back.
url.substring(contextPath.length(), getParamLoc(url) - extension.length() + 1) + suffix;
Is probably what you were looking for... I'll test that.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983569#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...