How to upload single or multiple images using JSR-168 portlet
posted 9 years ago
I'm trying to upload single and multiple images using JSR-168 portlets. But as there is no options for ActionRequest object for streaming, I'm unable to upload the image. I tried using MultipartParser(cos.jar) and ServletFileUpload from Apache, but all these needs HttpServletRequest not ActionRequest. I tried forwarding to a pure non-JSR-168 JSP page, i could get the image, I can go back to the JSR-168 JSP page after getting the image.
If anyone is aware of how to do this, please share with me.