To be fair, Derek, you are following a long tradition. I think there
was even a challenge on the Internet to do this. However, you are
wrong. I DO it all the time. You need to think out of the box. I
have given you the solution. I can give you code, but it is
interesting and instructive (to m
On Wednesday 22 December 2004 02:29, Dakota Jack wrote:
> There actually are a lot of things you can do with this that are not
> obvious and are consistent with what seems to be impossible. You can
> actually get around almost all of the restrictions on type='file'> without breaking security. Yo
, 2004 10:52 AM
To: uma.k
Cc: Struts Users Mailing List
Subject: Re: html:file value
Hi, Uma,
Let's start over. Forget about anything but telling me from a user's
point of view what you want to do. You have a user using a browser
and wanting to do something with files. If the file is o
There actually are a lot of things you can do with this that are not
obvious and are consistent with what seems to be impossible. You can
actually get around almost all of the restrictions on without breaking security. You just create GUI facades
with span styles. This can allow you to actually
Uma,
When your user submits the form that they've used to select the file
they want to upload, you'll have to upload it - right then. AFAIK,
there's not a way to, at some later point in time, poke a value into a
html:file input field -- per the HTML spec, I believe.
You have to upload the file w
Hi, Uma,
Let's start over. Forget about anything but telling me from a user's
point of view what you want to do. You have a user using a browser
and wanting to do something with files. If the file is on the server,
then we are talking about a download. If the file is on the client
(user machin
Hi Jack,
Thanks for the replies. I basically wanted to write a test programme where
in I have few
text fields and 3 html:file inputs. Before I send the "text" information and
"images" to the
server, I wanted to show a preview to the user.
What I am planning to do is, pass the values to the bean fo
Hi, Tim,
If you have been following uma's posts, you will find that she has
already discovered the Struts file upload classes.
Jack
On Mon, 20 Dec 2004 09:26:59 -0500, Slattery, Tim - BLS
<[EMAIL PROTECTED]> wrote:
> > How do I get html:file value in Action class without
> How do I get html:file value in Action class without using javascript?
>
Have you looked at the struts-upload.jar in the Struts distribution zip
file? That's a full-functional file upload application, all the details of
using Struts to upload a file are there.
In a nutshell,
s no value"
Image path:" />
Uma
-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: Monday, December 20, 2004 7:58 PM
To: Struts Users Mailing List
Subject: Re: html:file value
This is just an input type in a form, Uma, so you need some sort of
form submissio
This is just an input type in a form, Uma, so you need some sort of
form submission which "references" an action class, usually something
like "uploadAction.do".
Jack
On Mon, 20 Dec 2004 19:38:23 +0530, uma.k <[EMAIL PROTECTED]> wrote:
> How do I get html:file
How do I get html:file value in Action class without using javascript?
Uma
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
12 matches
Mail list logo