Thanks a lot Andy. Now I am getting the pdf in portlet using serveResource method. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264884#4264884 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264884