struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dakota Jack <>
Subject Re: AW: Multi-select file chooser
Date Tue, 01 Mar 2005 23:19:37 GMT
You can get around these.  I sent Frank some code yesterday that gets
around the security issues.  He was not particularly interested in
that, however, but the code is there if you are.

On Mon, 28 Feb 2005 17:49:42 -0600, Jason King <> wrote:
> Haven't tried this lately but there used to be security restrictions
> about reading the filename in <input type="file"> elements or writing
> the filename.
> Frank W. Zammetti wrote:
> > Ah, didn't see this until I posted that form code :)
> >
> > This is what I was talking about with the "better ways to present the
> > UI " comment.  I would have to test it, but I *think* you should be
> > able to have a single <file> element that is visible, with a number of
> > hidden ones, and for each file you select with the visible one you
> > actually populate a hidden one.  Maybe have a listbox that the files
> > get added to, and the user can remove existing items or add new ones,
> > something along those lines (I'm thinking out loud here).
> >
> > There might be some scripting security issues there, I'd have to play
> > a bit, but I suspect it might work.  That would give you your single
> > browse and upload button like you want.
> >
> > If this is something that is interesting to enough people, I would
> > mind throwing a real tag together with some options and such, perhaps
> > a couple of different UI presentations, etc.
> >
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message