Results 1 to 3 of 3
- 04-13-2011, 12:44 PM #1
Member
- Join Date
- Mar 2011
- Posts
- 30
- Rep Power
- 0
-
In case you need more attribute from the File, return the File object.
If you'd never need anything other than just the name, then return the String name as it is less "heavy" than returning the File object.
To be honest though, I'd rather keep the File object as you'd probably need to do more stuff with it later.
- 04-13-2011, 12:56 PM #3
Member
- Join Date
- Mar 2011
- Posts
- 30
- Rep Power
- 0
Similar Threads
-
Getting access denied error while importing file using input type="file" with IE7
By sarang1 in forum Advanced JavaReplies: 6Last Post: 02-10-2011, 09:55 AM -
Java Netbeans File Type help
By VanGo in forum NetBeansReplies: 4Last Post: 01-19-2011, 11:07 PM -
retain value of input type file in a jsp file while being dynamically generated
By nidhi c in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 09-27-2009, 02:21 AM -
Mime type of a file from web
By Java Tip in forum Java TipReplies: 0Last Post: 03-03-2008, 05:20 PM -
Mime type of a file
By Java Tip in forum Java TipReplies: 0Last Post: 03-03-2008, 05:18 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks