Re: initialise a form file

2008-12-11 Thread Dave Newton
--- On Thu, 12/11/08, Robert Graf-Waczenski wrote: > No, the absolute path is not available and also completely > irrelevant to a web application because the absolute path > as seen by the client who uploaded the file may or may not > be the same to another client who looks at the uploaded data.

Re: initialise a form file

2008-12-11 Thread Robert Graf-Waczenski
No, the absolute path is not available and also completely irrelevant to a web application because the absolute path as seen by the client who uploaded the file may or may not be the same to another client who looks at the uploaded data. Again, this is due to how file uploads via HTTP work. The

Re: initialise a form file

2008-12-11 Thread elyes sallem
OK, thanks for your response if i understood well, there is no way to initialize the displayed path (the problem is that the client want a default value, which must be display and if the client make sumbmit i must make trt with it) furthermore ,in the trt, i want the absolute path which i give as p

Re: initialise a form file

2008-12-11 Thread Robert Graf-Waczenski
Hi, short answer: This is not possible. This restriction is not imposed by Struts but is instead due to a restriction of the html tag, for which the value can not be prefilled or changed programmatically. In our app we therefore have the pattern that when a file is currently already uploaded

Re: initialise a form file

2008-12-11 Thread Andras Balogh
Hi, A HTML input of type file can't have a default value. This is a security issue. BR, Andras elyes sallem wrote: Hello, in a form, a define a - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai