aspose file tools*
The moose likes Struts and the fly likes File tag issues (s:File value= Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "File tag issues (s:File value="")" Watch "File tag issues (s:File value="")" New topic
Author

File tag issues (s:File value="")

Yemi Dalley
Greenhorn

Joined: May 03, 2007
Posts: 12

Please does anyone know how to use the value attribute of the file tag.

I'm trying to do initialize the file tag if a file was previously uploaded.

Thanks


SCJD (URlybird)
Shashank Ag
Ranch Hand

Joined: Dec 22, 2009
Posts: 88

actually you don't initialize value attribute of <s:file /> tag.
It is because the value determines the file path on clients system which is never sent to you.
Even if somehow you know it, even then what happens if file was removed from that location.

Hence, if you will need a work around to this by displaying list of uploaded files upon page.


SCJP 91%, SCWCD 97%
Yemi Dalley
Greenhorn

Joined: May 03, 2007
Posts: 12

thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File tag issues (s:File value="")