RE: File-Upload - empty after validation

2002-04-26 Thread Rooms, Christoph

Hi Shane,

All well, but it does not solve the problem I have ?
Because I feel my problem is Internet explore oriented. 

The value is in the html code, but not shown in the file-field.

kind regards,
   
Christoph Rooms
Technical Account Manager
SilverStream Software
+32 475 531 529


-Original Message-
From: Witbeck, Shane [mailto:[EMAIL PROTECTED]] 
Sent: donderdag 25 april 2002 15:38
To: [EMAIL PROTECTED]
Subject: RE: File-Upload - empty after validation


A good alternative to the struts file upload servlet is the one from
servlets.com: 

http://servlets.com/cos/index.html

I am currently using it in a project to upload images and it works great.

Sincerely,

Shane Witbeck
__
Developer, Bank of America
email: [EMAIL PROTECTED]
phone: 904.987.1688

-Original Message-
From: Rooms, Christoph [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 5:39 AM
To: 'Struts Users Mailing List'
Subject: File-Upload - empty after validation


Hi,

I have a html:file tag in my form.

The user selects a file, press submit ... And because of validation errors
he will see the form to re-edit it. BUT the file field is empty. 

I know this has got something to do with Internet Explore because you can
see the file refence in the htmlcode. 

Anyone knows how to get around this ? Could javascript be an option

Thanks, Christoph

--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: File-Upload - empty after validation

2002-04-25 Thread Witbeck, Shane

A good alternative to the struts file upload servlet is the one from
servlets.com: 

http://servlets.com/cos/index.html

I am currently using it in a project to upload images and it works great.

Sincerely,

Shane Witbeck
__
Developer, Bank of America
email: [EMAIL PROTECTED]
phone: 904.987.1688

-Original Message-
From: Rooms, Christoph [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 5:39 AM
To: 'Struts Users Mailing List'
Subject: File-Upload - empty after validation


Hi,

I have a html:file tag in my form.

The user selects a file, press submit ... And because of validation errors
he will see the form to re-edit it. BUT the file field is empty. 

I know this has got something to do with Internet Explore because you can
see the file refence in the htmlcode. 

Anyone knows how to get around this ? Could javascript be an option

Thanks, Christoph

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: File-Upload - empty after validation

2002-04-25 Thread dhay



Doesn't, by any chance allow you to upload multiple files at once, does it?
Still trying to figure that one out

Dave





Witbeck, Shane [EMAIL PROTECTED] on
04/25/2002 09:38:22 AM

Please respond to Struts Users Mailing List
  [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:(bcc: David Hay/Lex/Lexmark)
Subject:  RE: File-Upload - empty after validation



A good alternative to the struts file upload servlet is the one from
servlets.com:

http://servlets.com/cos/index.html

I am currently using it in a project to upload images and it works great.

Sincerely,

Shane Witbeck
__
Developer, Bank of America
email: [EMAIL PROTECTED]
phone: 904.987.1688

-Original Message-
From: Rooms, Christoph [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 5:39 AM
To: 'Struts Users Mailing List'
Subject: File-Upload - empty after validation


Hi,

I have a html:file tag in my form.

The user selects a file, press submit ... And because of validation errors
he will see the form to re-edit it. BUT the file field is empty.

I know this has got something to do with Internet Explore because you can
see the file refence in the htmlcode.

Anyone knows how to get around this ? Could javascript be an option

Thanks, Christoph

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]








--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: File-Upload - empty after validation

2002-04-25 Thread matt_raible

This *would* be possible using cookies and javascript if you could 
set the value of an input type=file element, but this is against 
the rules of the html-spec, so no go.

I'm sure there is a way to workaround it, like setting the filepath 
as a cookie and then rendering an input type=text - but then the 
user will not be able to re-select a file.

--- In [EMAIL PROTECTED], Hans-Joachim Matheus [EMAIL PROTECTED] 
wrote:
 Hi Christoph
 
 Von: Rooms, Christoph [mailto:CRooms@S...]
  I have a html:file tag in my form.
  
  The user selects a file, press submit ... And because of 
  validation errors
  he will see the form to re-edit it. BUT the file field is empty. 
  
 
 There is no workaround. The local file path (c:\temp\foo)
 which you see in the file dialog in the browser is not submitted
 to the server but only the filename (foo).
 
 You cannot return this value (foo) from the server to the client,
 because something like input type=file value=foo would point 
to the
 wrong
 local file location.
 
 It is completely normal behavior that you see an empty file-input-
field
 when struts comes back with some validation errors.
 This is sometimes annoying for the user. But that is as it is.
 
 Hans-Joachim Matheus
 
 -- 
 mailto:Hans-Joachim.Matheus@i... \
 in-integrierte informationssysteme GmbH \
 Am Seerhein 8 Tel +49 (0)7531/8145-0 \
 D-78467 Konstanz  Fax -81 \
 http://www.in-gmbh.de \
 
 --
 To unsubscribe, e-mail:   mailto:struts-user-unsubscribe@j...
 For additional commands, e-mail: mailto:struts-user-help@j...


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]