void setFormField(boolean state);
public abstract void delete();
public abstract boolean isFormField();
public abstract boolean isInMemory();
public abstract void write(File file) throws Exception;
}
Thanks,
Michael McGrady
not? and (B) why does a file with a size of 0 get
uploaded when the threshold is set at 4096?
Michael McGrady
Martin Cooper wrote:
On Wed, 20 Oct 2004 11:27:40 -0700 (PDT), Joe Smith [EMAIL PROTECTED] wrote:
If FileItem.getSize() == 0, it means either
1) The file doesn't exist
2) The file exists
Are you using Struts, Adam?
Michael McGrady
Adam Pelletier wrote:
I'm using commons-fileupload-1.0.jar.
I'm trying to upload a file using enctype=multipart/form-data.
However, I'm also passing a hidden form input element with an ID stuck in it. This ID is critical for the state of the servlet
= uploadedFile11
UploadParser fieldName = uploadedFile12
UploadParser fieldName = submit.dispatch.x
UploadParser fieldName = submit.dispatch.y
UploadParser fieldName = fileOp
From a page that has twelve input type='file' tags. Hope this helps.
Michael McGrady
Adam Pelletier wrote:
No, this is just a plain
I cannot see how a servlet stepping through parameter values could break
an architecture. What do you mean by that? If the parameter is there,
then the servlet can read it. How that could affect architecture is not
clear to me. Can you guys explain what you mean?
Michael McGrady
Paul
issues. I have a hugely efficient file upload application
built on top of this functionality. Anyway, glad you are on track.
These things can bedevil us.
Michael McGrady
Adam Pelletier wrote:
I fixed my problem. My problem is that I had a Servlet that would
serve up any number of Pages. The way
studying to do on this. Maybe the best thing is
just of forget about using ActionForms in this case because they are too
coupled to this solution? Back to the code. I had no idea. Thanks for
your post.
Michael
Martin Cooper wrote:
On Mon, 04 Oct 2004 21:02:38 -0700, Michael McGrady
[EMAIL
talking about room for growth, alternatives, etc. Different
people, as you know, have different requirements. That is what is nice
about commons. Michael McGrady
Martin Cooper wrote:
Struts provides built-in support for file uploads, and always has
done. I believe most developers don't find
Harrie Hazewinkel wrote:
HI all,
For example, string line1\r\nline2\r\n should become
line1=0D=0A=line2=0D=0A=.
Use the replaceAll(String,String) method in String.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
[EMAIL PROTECTED] wrote:
Hi Martin.
-Original Message-
From: Martin Cooper
Detail: Webpage (tomcat).
User logs in, and is checked out (mysql).
User enters required metadata, then selects files.
Action required is for the client to transfer a number of
At 01:49 AM 8/11/2004, you wrote:
check the standard java package java.net, class InetAddress etc...
peter
I have not checked what the result is, but I do know that InetAddress
overides hashcode() in Object.
-
To unsubscribe,
Is the commons file upload code ready for prime time? What is the
experience out there? Thanks for any feedback.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It is really easier just to write your own tag for these specialty
needs. Tag writing is relatively easy to do.
At 01:03 AM 4/30/2004, Marco Mistroni wrote:
Hi all,
Is there any way, using beanutils package, to 'wrap' a Map
Into a DynaBean or something similar?
From errors that I have,
I use a thread pool and I have yet to find a pool that does a better
job. I have had trouble with all pools except the one I have been using
without trouble since 1999.
At 12:23 PM 2/18/2004, you wrote:
Danny Angus wrote:
Is there such a trivial pool impl available, or does anybody have clever
Use a callback.
At 12:47 PM 2/18/2004, you wrote:
Hi all
Is there any way to find out how much time an object has been active
in a Pool? Thanx
Rodrigo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
15 matches
Mail list logo