This may be very simple question but I have been looking around for a while. I am sending two strings to a Java Servlet on Tomcat 7.
multipartContent.addPart("destadd", sb1);
multipartContent.addPart("destfilename", sb2);
I am trying to retrieve these String like this
String destFileName = request.getPart("destfilename").getName();
but in vein. I will appreciate any help.