<?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: SAP MII File Upload Functionality Error in Product Lifecycle Management Q&amp;A</title>
    <link>https://community.sap.com/t5/product-lifecycle-management-q-a/sap-mii-file-upload-functionality-error/qaa-p/8642448#M44734</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mona, &lt;/P&gt;&lt;P&gt;I would try changing the extension of page from .irpt to .html and test. &lt;/P&gt;&lt;P&gt;irpt extension may be interfering with standard client server request response class objects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Hari &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Apr 2012 21:54:27 GMT</pubDate>
    <dc:creator>HariCS23</dc:creator>
    <dc:date>2012-04-03T21:54:27Z</dc:date>
    <item>
      <title>SAP MII File Upload Functionality Error</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/sap-mii-file-upload-functionality-error/qaq-p/8642447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;We have a requirement to provide a file upload functionality from the user local machine to a dynamic path on the MII server.&lt;/P&gt;&lt;P&gt;To fulfill the requirement, we are using a form within an irpt page that has several iBrowser applets as well a browse button that the user can use to pick the file to be uploaded. After the user is done with the selection and once the submit button is clicked, the form is posted to a JSP page in MII where we are able to grab the file object and save it to a hard coded location on the server.&lt;/P&gt;&lt;P&gt;In order to make the destination path for the file dynamic, we need to be able to read all the form values and dynamically construct the path to where the file is supposed to be saved. &lt;/P&gt;&lt;P&gt;Unfortunately, since we are using&amp;nbsp; enctype="multipart/form-data" in the form in the irpt page to get the upload working, we are not able to simply use request.getParameter in the JSP page to get the form values, instead we have to use MultipartStream class functionality to read the values from the form, which can make the code unnecessarily complex. We have a much simpler alternative solution using HttpServletRequest, which is a native java class however we are getting the following error: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif';"&gt;Cannot process an HTTP request to servlet [jsp] in [XMII] web application. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif';"&gt;[EXCEPTION]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif';"&gt; java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif';"&gt;Does anyone have an idea why MII&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.5pt;"&gt; is not recognizing the class&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif';"&gt;? Or, does anyone know of a better way of doing this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif';"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif';"&gt;Mona&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 19:00:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/sap-mii-file-upload-functionality-error/qaq-p/8642447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-30T19:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAP MII File Upload Functionality Error</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/sap-mii-file-upload-functionality-error/qaa-p/8642448#M44734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mona, &lt;/P&gt;&lt;P&gt;I would try changing the extension of page from .irpt to .html and test. &lt;/P&gt;&lt;P&gt;irpt extension may be interfering with standard client server request response class objects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Hari &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 21:54:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/sap-mii-file-upload-functionality-error/qaa-p/8642448#M44734</guid>
      <dc:creator>HariCS23</dc:creator>
      <dc:date>2012-04-03T21:54:27Z</dc:date>
    </item>
  </channel>
</rss>

