Hi all,
Today i come with fileupload image.
Steps to remember to upload an image:
1. Get the physical path where you want to store the upload image
2. Save the uploaded image name as anyname.jpg (as your wish of format)
3. first to steps get from
string.format("{0}{1}_img.jpg",physicalpath,imagename)that return as string
4. final step save the contents of uploaded file in to physical path
fileuploadId.saveAs(string) this string which contains the physicalpath with filename of image with format.
sangeetha.m