This worked, thanks Gavin. But is there no possibility to do the redirect from the page if the variable is empty? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052832#4052832 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052832