I am trying to upload Image but I can't. When my application is in local disk i.e. d:\ then it works. But when I put my application on out office server and when I am trying to upload image then it isn't working. Before I am using following path :
final String path = "D:\\Workspace\\B2B Solution\\WebContent\\product_images\\";
now my application reside at :
\\ADMIN\keyur\Workspace\B2B Solution\WebContent\product_images
place i.e. on network. So which address I have to pass in servlet I don't know.
Any help please ?
File
object? – Buckramfinal Part filePart = request.getPart("product_image_upload");
– Nigel