aspose file tools*
The moose likes Struts and the fly likes html:file and showing the image.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:file and showing the image.." Watch "html:file and showing the image.." New topic
Author

html:file and showing the image..

Henrik Krievs
Ranch Hand

Joined: Jan 05, 2004
Posts: 60
Howdy!

Is it possible to grap the image selected by html:file - and showing it - before submiting the page?

Regards, Henrik
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
You could upload the file, show it as an image and give the user a chance to abort before saving it on the server.

As far as showing it before you actually upload it, there may be some JavaScript voodoo you could work, but I seriously doubt it.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html:file and showing the image..