Here's a resource on this topic. http://pdf.moreservlets.com/More-Servlets-and-JSP-Chapter-07.pdf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051146#4051146 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051146