This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes How to use FormFile? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to use FormFile?" Watch "How to use FormFile?" New topic

How to use FormFile?

Yashnoo lyo
Ranch Hand

Joined: Feb 17, 2003
Posts: 152
Hi everone:
If I want to use struts to get upload file how to get the file path?I had seen the upload example but it is not useful to me.I means that in Action how to get the client's upload file's realpath? The FormFile class don't support a method that can do this.
Thks :roll:

When I face C# and Java I choose Java.
I agree. Here's the link:
subject: How to use FormFile?
Similar Threads
Commons FileUpload
Upload file and mail it
Regarding Upload a file
Get path of file uploaded
absolute path Formfile upload