What Is Wrong With This Code It Gives Error
can anyone tell me that what is wrong with this code it returns the error of syntax error. can anyone fix it ? dos.writeBytes(twoHyphens + boundary + lineEnd); dos.writeBytes('Co
Solution 1:
dos.writeBytes("Content-Disposition: form-data; name=\"uploaded_file\";\"filename=\""+ fileName + "\"" + lineEnd);
double qoutes are not used within double qoutes, you need to put "\" (backslash)
Post a Comment for "What Is Wrong With This Code It Gives Error"