Honestly, that's very horrible code. This smells like a ripoff from roseindia.net. Please ignore that site forever, it almost only shows bad code examples and introduces bad practies. It's maintained by amateurs with the only focus on advertisement incomes.
To handle file upload I highly recommend you the Apache Commons FileUpload API. Here it is: http://commons.apache.org/fileupload Especially read the 'User Guide' section how to use it. It's fairly easy. For trouble or just for tips/tricks consult the 'Frequently Asked Questions' section. It's simply great stuff; thoroughly tested in all known situations and highly reliable. [ December 14, 2008: Message edited by: Bauke Scholtz ]
yes i know that but sadly i work on rational 6 which is the worst IDE you can see and it give me hard times in my DB connection which is DB2 v8.1 express bottom line i was in too much trouble with the db2 driver import to import any other jar
but thanks any way for the heads up i will sure take it in consideration in the future