Thank you for sharing that information. I have created new page https://wiki.apache.org/myfaces/core22_inputfile. Myfaces wiki is indeed very useful.
________________________________ From: Mike Kienenberger <mkien...@gmail.com> To: MyFaces Development <dev@myfaces.apache.org> Cc: Dora Rajappan <dorarajap...@yahoo.com> Sent: Thursday, July 25, 2013 7:50 PM Subject: Re: [Myfaces Wiki] Update of "DoraRajappan" by DoraRajappan You should probably pick a better page name for your article on setting up file transfers. Page names with the same name as the wiki user are normally spam. On Thu, Jul 25, 2013 at 8:33 AM, Apache Wiki <wikidi...@apache.org> wrote: > The "DoraRajappan" page has been changed by DoraRajappan: > https://wiki.apache.org/myfaces/DoraRajappan > > New page: > ##language:en > == Your Name == > Email: <<MailTo( dorarajap...@yahoo.com )>> > > ... > > ---- > > core 2.2 > > How to set up tomcat 7 for file transfer and ensure file is transferred. > > 1. in context.xml of the server conf directory add the attribute > allowCasualMultipartParsing and set the value to true. > > <Context ... allowCasualMultipartParsing="true"> > ||<style="text-align: left">allowCasualMultipartParsing ||<style="text-align: > left">Set to true if Tomcat should automatically parse multipart/form-data > request bodies when HttpServletRequest.getPart* or > HttpServletRequest.getParameter* is called, even when the target servlet > isn't marked with the @MultipartConfig annotation (See Servlet Specification > 3.0, Section 3.2 for details). Note that any setting other than false causes > Tomcat to behave in a way that is not technically spec-compliant. The default > is false || > > > > > 2. Install wireshark > > http://www.wireshark.org/docs/wsug_html_chunked/ChBuildInstallWinInstall.html > > 3.If you are using usb to connect to the network install usbpcap > > http://wiki.wireshark.org/CaptureSetup/USB > > 4.Start tomcat and start capture of http packets. Refer > http://www.wireshark.org/docs/wsug_html_chunked/ChapterCapture.htmlto know to > start the capture. Then submit file from the browser. > > 5.Analyse the http packets and ensure the file is transferred fully.