fully qualified file path upload

asked 2011-04-28 08:33:25 +0800

airton gravatar image airton
78 1


How to get the fully qualified file path I'm uploading?

I can only get the file name using this approach:

	public void onUpload$fu(UploadEvent event) {
		Object media = event.getMedia();
		System.out.println("media: " + media.toString());

I'd like to get, e.g., "C:\Users\airton\Documents\file.ext"

give me "normal" ... (fu here is a fileupload component on zul page).


delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2011-04-28 09:51:36 +0800

mjablonski gravatar image mjablonski
1284 3 5

That's not possible due to security restrictions enforced by browsers.

Cheers, Maik

link publish delete flag offensive edit

answered 2011-04-28 12:50:25 +0800

airton gravatar image airton
78 1

updated 2011-04-28 12:50:48 +0800

It makes sense...

Thanks, Maik.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2011-04-28 08:33:25 +0800

Seen: 133 times

Last updated: Apr 28 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More