Re: FileUpload Question

2007-03-31 Thread Jochen Wiedmann
On 3/31/07, Thomas Vanck <[EMAIL PROTECTED]> wrote: Hi ! I'm using FileUpload in my Java/Tomcat project. I've a problem, which is I think mentioned in the FAQ, but no solution is offered there. Searching the web and asking on boards didn't yield any results. I've written the following code: pac

Re: Fileupload question

2006-06-23 Thread Nima
Bah, this has left me freaking clueless.I will try the same code at work to see if I have any luck on another computer. If any of you guys have used the Fileupload API with Eclipse WTP/Tomcat 5.5 (not in combination with a web framework such as WebWork or Tapestry), please let me know how you got

Re: Fileupload question

2006-06-23 Thread Martin Cooper
On 6/23/06, Nima <[EMAIL PROTECTED]> wrote: I did ignore setting the threshold and max file size before, but that didn't result in any luck either... basically I had the following in my method body DiskFileItemFactory factory = new DiskFileItemFactory(); factory.setRepository(ne

Re: Fileupload question

2006-06-23 Thread Nima
I did ignore setting the threshold and max file size before, but that didn't result in any luck either... basically I had the following in my method body DiskFileItemFactory factory = new DiskFileItemFactory(); factory.setRepository(new File("C:/")); ServletFileUpload upload

Re: Fileupload question

2006-06-23 Thread Martin Cooper
On 6/23/06, Nima <[EMAIL PROTECTED]> wrote: Hey all I am trying to handle a JSP file upload with the Commons Fileupload api but to no avail. The problem is that I never manage to parse the request coming from my JSP to my Servlet. Any ideas on what I might be doing wrong? There are no exception

Fileupload question

2006-06-23 Thread Nima
Hey all I am trying to handle a JSP file upload with the Commons Fileupload api but to no avail. The problem is that I never manage to parse the request coming from my JSP to my Servlet. Any ideas on what I might be doing wrong? There are no exceptions thrown and I have the commons-io.jar in my w