Currently, I am posting to another jsp page that just prints out the method used (should say post if all goes well). I have a Servlet that I use to write files that works on everything under 2GB, but on large uploads, the thread is never hit, thus I began posting to a tmp.jsp page until I figure out why tmp.jsp is never reached. Yes, lib snapshot of directory:

/lib
commons-fileupload-1.2.jar
*
-------------------------------**index.jsp-------------------------------*

<[EMAIL PROTECTED] contentType="text/html"%>
<[EMAIL PROTECTED] pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd";>

<html>
   <head>
       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
       <title>JSP Page</title>
   </head>
   <body>

<form action="<%=request.getContextPath ()%>/tmp.jsp" method="post" enctype="multipart/form-data" onsubmit="javascript: displayProgress();"> <input type="text" name="fileTitle" id="fileTitle" value="File Title" onclick="if (this.value == this.defaultValue) this.value='';"/>
     <input type="file" name="file" id="file"/>
     <input type="submit" id="uploadButton" value="Upload"/>
   </form>
</body>
</html>

*-------------------------------**tmp.jsp**-------------------------------*

<[EMAIL PROTECTED] contentType="text/html"%>
<[EMAIL PROTECTED] pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd";>

<html>
   <head>
       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
       <title>JSP Page</title>
   </head>
   <body>

   <%=request.getMethod ()%>
</body>
</html>

Caldarale, Charles R wrote:
From: David Hesson [mailto:[EMAIL PROTECTED] Subject: Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

I have installed 6.0.14 now and the same problem persists.

Can you post your servlet/JSP code (if it's not excessively large)?
IIRC, you're using Commons FileUpload 1.2; is that correct?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
David Hesson
Software Engineer
NuRelm, Inc.
http://www.nurelm.com

Toll Free: 1-877-268-7356  ext. 207
Local: 1-724-430-0490  ext. 207

Reply via email to