Best practise is to create a servlet just like you described, place it in the 
same web application as your portlet and just link/redirect to it from portlet. 
Because servlet can share session with your portlet (same web app) you can 
either secure downloads with some kind of token id passed in querystring and 
token placed in session. You can even generate content displayed inside your 
portlet that way

Refer to attachments in ForumsPortlet implementation.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957701#3957701

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957701
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to