Your app runs at the server.
The file is uploaded from the client machine.
How the full *client* path will be useful at the server ?

On Wed, May 11, 2011 at 4:39 PM, eugenebalt <eugeneb...@yahoo.com> wrote:
> Another issue with the FileUpload,
>
> When I try to retrieve the specified filename with getClientFileName(), I
> only get the name of the file, without the absolute path. So I can't
> construct a java.io.File object with just the filename. How do I get the
> full path?
>
> In the example at http://www.wicket-library.com/wicket-examples/index.html ,
> they're using an "UploadFolder" but I don't have an Upload Folder, I'm not
> uploading a file to the server.
>
> I just need to get the full path of the specified file so I can create a
> File object. Then, I need to parse the File. Thanks again
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/FileUploadField-getClientFileName-doesn-t-give-Absolute-Path-tp3514910p3514910.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to