Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic