<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Creating Progress Bar for File Upload in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/creating-progress-bar-for-file-upload/qaa-p/978331#M370760</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please tell me the way to upload file from client system to server.&lt;/P&gt;&lt;P&gt;The code i have is as follows:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jsp:-&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function saveImage(){&lt;/P&gt;&lt;P&gt;	//projectname.javafilename&lt;/P&gt;&lt;P&gt;	var strStatus = "save";&lt;/P&gt;&lt;P&gt;	document.saveImageForm.action="/irj/servlet/prt/portal/prtroot/TestXML.TextImageLink?frmstatus="+ strStatus;&lt;/P&gt;&lt;P&gt;	document.saveImageForm.method="post";&lt;/P&gt;&lt;P&gt;	document.saveImageForm.submit();	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;form name="saveImageForm" encrypt="multipart/form-data"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;table width="388" cellpadding="1" cellspacing="1" bgcolor="#F0F0F0" border='0'&amp;gt;&lt;/P&gt;&lt;P&gt;  	&amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;   		&amp;lt;td&amp;gt;&amp;lt;font color="blue" face="verdana" size="2"&amp;gt;IMAGE:&amp;lt;/font&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input id="image" type="file" name="image" value=""/&amp;gt;&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;td&amp;gt;&amp;lt;input type="submit" name="submit" value="Submit" onclick="saveImage();"/&amp;gt;&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/table&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/form&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i am not getting what to write in java file &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using IPortalComponentRequest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;Using the jsp file upload in tomcat is working but here it is not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help meee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sirisha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Mar 2006 10:48:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-11T10:48:31Z</dc:date>
    <item>
      <title>Creating Progress Bar for File Upload</title>
      <link>https://community.sap.com/t5/technology-q-a/creating-progress-bar-for-file-upload/qaq-p/978328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm trying to implement a progress bar indicator for a file upload in WebDynpro, without very good results.&lt;/P&gt;&lt;P&gt;I'm using a fileupload UI element, a TimerTrigger and a ProgressIndicator UI elements for this purpose. &lt;/P&gt;&lt;P&gt;It seems that using the fileupload UI element the iview is locked during the file upload, and therefore it prevents for the timer triggered action to be performed (this action updates the progress bar).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally I havent been able to capture the transfered bytes from the upload. Maybe I'm using the wrong elements?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I achieve this. Has anyone done it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would really appreciate all the help I could get.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Homer Vargas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2005 19:07:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/creating-progress-bar-for-file-upload/qaq-p/978328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-23T19:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Progress Bar for File Upload</title>
      <link>https://community.sap.com/t5/technology-q-a/creating-progress-bar-for-file-upload/qaa-p/978329#M370758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vargas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, file upload is an atomic operation in WD, this is just a submit of multipart form data underneath. Obviously, it is impossible to create progress bar indicator for atomic operations - WD does not fire any additional events on upload progress or alike.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Additionally I haven't been able to capture the transferred bytes from the upload&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;If you are using file upload, you have to use &amp;lt;b&amp;gt;binary&amp;lt;/b&amp;gt; context attribute, just access value of this attribute (which is of java type byte[]) in action handler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Valery Silaev&lt;/P&gt;&lt;P&gt;EPAM Systems&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.NetWeaverTeam.com/" target="test_blank"&gt;http://www.NetWeaverTeam.com/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2005 08:47:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/creating-progress-bar-for-file-upload/qaa-p/978329#M370758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-26T08:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Progress Bar for File Upload</title>
      <link>https://community.sap.com/t5/technology-q-a/creating-progress-bar-for-file-upload/qaa-p/978330#M370759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there another way to upload a file other than using the fileUpload component?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2005 15:24:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/creating-progress-bar-for-file-upload/qaa-p/978330#M370759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-05T15:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Progress Bar for File Upload</title>
      <link>https://community.sap.com/t5/technology-q-a/creating-progress-bar-for-file-upload/qaa-p/978331#M370760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please tell me the way to upload file from client system to server.&lt;/P&gt;&lt;P&gt;The code i have is as follows:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jsp:-&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function saveImage(){&lt;/P&gt;&lt;P&gt;	//projectname.javafilename&lt;/P&gt;&lt;P&gt;	var strStatus = "save";&lt;/P&gt;&lt;P&gt;	document.saveImageForm.action="/irj/servlet/prt/portal/prtroot/TestXML.TextImageLink?frmstatus="+ strStatus;&lt;/P&gt;&lt;P&gt;	document.saveImageForm.method="post";&lt;/P&gt;&lt;P&gt;	document.saveImageForm.submit();	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;form name="saveImageForm" encrypt="multipart/form-data"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;table width="388" cellpadding="1" cellspacing="1" bgcolor="#F0F0F0" border='0'&amp;gt;&lt;/P&gt;&lt;P&gt;  	&amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;   		&amp;lt;td&amp;gt;&amp;lt;font color="blue" face="verdana" size="2"&amp;gt;IMAGE:&amp;lt;/font&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input id="image" type="file" name="image" value=""/&amp;gt;&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;td&amp;gt;&amp;lt;input type="submit" name="submit" value="Submit" onclick="saveImage();"/&amp;gt;&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/table&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/form&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i am not getting what to write in java file &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using IPortalComponentRequest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;Using the jsp file upload in tomcat is working but here it is not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help meee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sirisha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Mar 2006 10:48:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/creating-progress-bar-for-file-upload/qaa-p/978331#M370760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-11T10:48:31Z</dc:date>
    </item>
  </channel>
</rss>

