This content has been marked as final.
Show 2 replies
-
1. Re: download non-html file from portlet
bdaw Jul 13, 2006 8:05 AM (in response to hubertg)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. -
2. Re: download non-html file from portlet
hubertg Jul 17, 2006 2:31 AM (in response to hubertg)Ok, I will try that! Thanks for the quick answer!