Communication between portlet and servlet
Hi i have written a portlet which generates a report in pdf format but my requirement is to provide the download option for the user开发者_开发技巧 to download that pdf, i am using servlet to download the file but i am not able to pass the information from portlet to servlet.
please help me on this issue.
Maybe you should generate the PDF-report in the servlet itself. Othervise you probably need to use some temporary directory to store the pdf and download it from there in the servlet.
精彩评论