• Post Reply Bookmark Topic Watch Topic
  • New Topic

OracleAS Portal - Java portlet - upload/download

 
Dileep Kamath
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using OracleAS Portal 10.1.2.0.2 and the oracle portal development kit to develop the portlets. I'm using this to develop a struts based portlet.

1. The parallel page engine in the Portal doesnt seem to support multipart requests which prevents file uploads.

2. The PDK doesnt not supports content type text/* only. Due to this I'm unable to dynamically generate a PDF and write to the response. Since the response from a servlet goes to the PPE and not to the browser doesnt seem to be a way to achieve this in a portal.

Looks like the solution to both these problems would be to have a seperate servlet to upload/download. The user session is not being passed to the servlet even when it resides in the same web app as the portlet. Has anybody successfully resolved this? Could you please help me out?
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!