0 Replies Latest reply: Aug 30, 2013 5:40 AM by user8960936 RSS

    How Upload File To Custom Action

    user8960936

      We have requirement of uploading file from page to our action class where the file will be processed. We have created a action class using, GSF,

       

      public class MyAction extends RenderPage

      {

      .....

       

      I want to send file from web page. In java we use apache commons file upload jar. This jar needs HTTPRequest object. However in my action I have ics variable which contains the request parameters.

       

      Is there any way to do file upload using webcenter sites api? OR

      Is there any way I can get the HTTPRequest object in action? OR

      Any other thought?