In Websphere Portal, you cannot add a servlet in your portlet war.
So it isn't a standard method to solve the problem.
I have encountered the same problem when i doplyed Sun Ajax Portlet on
Websphere Portal, in fact it use a servlet to manage XMLHttpRequest.
I would like to find a standard method to solve this problem!
Thanks,
Luca
"Mike Burati"
<[EMAIL PROTECTED] To:
<[email protected]>, <[EMAIL PROTECTED]>
reet.com> cc:
Subject: RE: File Download From a
Portlet
09/09/2005
17.29
Please respond
to pluto-user
You may be able to include a servlet and/or JSP in your portlet WAR that
the links displayed by the portlet go to, to download the files (after
doing whatever additional access control logic you need)...
-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Evans
Sent: Friday, September 09, 2005 10:13 AM
To: [EMAIL PROTECTED]
Subject: File Download From a Portlet
I wish to create a JSR-168 compliant portlet that will display a list of
files with meta-data and then provide a link download the binary file.
The files will not be public and access control will be on a user by
user basis.
In the servlet world, I would simply hijack the response, set it's
content-type, the file name, read the file from disk and stream it out
on the response.
I gather that this approach will not work in the portlet world.
Has anyone figured out a way to do this?
thanks kindly,
aaron