This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Here you have assigned items = null and in the next line you are doing items.getFieldName() , which will result in NullPointerException, you will need to initialize items before doing any operations on it.
Joined: Feb 02, 2011
you are right but i think fileitem save the value in binary format in any other file as like text etc but i want to save file as like image etc on my system after getting from user you have any idea about this how i can do this?