I am trying to upload image files to application running on Web Server. Here is what i do
boolean isMultipart = ServletFileUpload.isMultipartContent(request); //Try to read the header and its request content type
FileItemFactory factory = new DiskFileItemFactory();
ServletFileUpload upload = new ServletFileUpload(factory);.
items = upload.parseRequest(request); //Try reading the image and parse the file to get file details.
Question is, why is any uploaded image being stored under /opt/SUNWwbsvr/https-www/config/ directory? This is certainly not a good thing happening.