Re: File Upload Problem.

2004-06-30 Thread Mr. Cristian D. Romanescu
Check some helper libraries such as commons-fileupload from apache because things are more complicated. Forms must be of type multi-part etc. regards, c. P a n k a j Kr. M o n d a l wrote: Hi All, I am using in a HTML page and sending it to a Servlet. I want to read the content of the file from wi

File Upload Problem.

2004-06-30 Thread P a n k a j Kr. M o n d a l
Hi All, I am using in a HTML page and sending it to a Servlet. I want to read the content of the file from within the Servlet. What to do? Thanks and regards, Pankaj Kumar Mondal ___ To unsubscribe, send email to [EMAIL PRO

Re: Oreilly File Upload Problem

2002-01-10 Thread G.Nagarajan
out Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Stuart Stephen Sent: Thursday, January 10, 2002 4:24 PM To: [EMAIL PROTECTED] Subject: Re: Oreilly File Upload Problem Surely you cannot predict the length of time the upload is going to take this way,

Re: Oreilly File Upload Problem

2002-01-10 Thread Stuart Stephen
To: [EMAIL PROTECTED] Subject: Re: Oreilly File Upload Problem One way would be to open a new javascript window before posting the form. The window can show some message like "upload in progress with an animated gif like the windows copy file". Then in the new page, in the body onload j

Re: Oreilly File Upload Problem

2002-01-10 Thread G.Nagarajan
ssion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Stuart Stephen Sent: Thursday, January 10, 2002 3:00 PM To: [EMAIL PROTECTED] Subject: Oreilly File Upload Problem Hi, I've written a servlet page running on the Tomcat server that allo

Oreilly File Upload Problem

2002-01-10 Thread Stuart Stephen
Hi, I've written a servlet page running on the Tomcat server that allows me to upload a file to the webserver. However, if the size of the file is too large to be uploaded for some reason it appears that I can't catch the exception that the Oreilly API throws. I would like to catch this and print

Help:com.oreilly.servlet file upload problem

2002-01-08 Thread Jan Goyvaerts
Hi ! I'm using the "com.oreilly.servlet" package to process multi-part requests. Everything works fine with one exception : the files have grown by half when I'm reading the inputstream associated with the file part. (Apache Jserv) My first guess is that somewhere the conversion for the encoding

Re: file upload problem using Oreilly servlet

2000-11-30 Thread Sameer
Hi everybody, following is the code sample of a jsp file working in (Windows NT + SQLServer + Java Web Server) environment ... String url = "jdbc:odbc:testdsn"; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager.getConnection(url, "", ""); ... what changes are

Re: file upload problem using Oreilly servlet

2000-11-28 Thread G.Nagarajan
This is about file uploading through servlets. >If you think about how HTTP works, the client makes a request, then the >server sends a response. The client doesn't expect or look for the >response until the request has completed. So if the server decided the >request is too large to process, wh

Re: file upload problem using Oreilly servlet

2000-11-27 Thread Christopher K. St. John
Jason Hunter wrote: > > If you think about how HTTP works, the client makes a request, then the > server sends a response. The client doesn't expect or look for the > response until the request has completed. So if the server decided the > request is too large to process, what's going to happen?

Re: file upload problem using Oreilly servlet

2000-11-25 Thread Jason Hunter
> I am using the following servlet for uploading files. > http://www.servlets.com/resources/com.oreilly.servlet/index.html > > The code works fine when the file size is lesser than the max > file size. But when the uploaded file size is more, the browser > just shows the server could not be found

file upload problem using Oreilly servlet

2000-11-25 Thread G.Nagarajan
Hi, I am using the following servlet for uploading files. http://www.servlets.com/resources/com.oreilly.servlet/index.html The code works fine when the file size is lesser than the max file size. But when the uploaded file size is more, the browser just shows the server could not be found messag