Skip to Content
0
Former Member
Nov 08, 2005 at 03:06 PM

Upload Files to Portal Component (Multipart, Navigation)

27 Views

I use a fairly old component to upload files to servlets running in the portal. Unfortunately this does not work anymore with SP14.

I have tried an adjusted OReilly MultipartRequest and Jakarta Commons FileUpload as well. Everthing works fine when deployed as Webmodules on the J2EE engine.

Integrated in the portal as iViews the problem seems to be the access to the ServletInputStream which seems to depend on the action url in the form.

I have done several tests with easy JSPs or AbstractPortalComponents which were successful using the component directly as action url. (e.g. test.FileUpload) Using this I loose the page context, so only this iView is displayed without any iView tray.

Using the NavigationTarget Parameter the servlet has problems to access or to read the ServletInputStream.

Does anyone have a good idea how to get a correct navigation url to overcome this problem?