don't do it in the actionhandlers, this could result in unwanted/unexpected behaviour.
Do it in the calling code (as does the webapp)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958915#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...