Question
June 12, 2008 at 10:03 PM
narmada_r_j

How to delete files from server using j2me

by narmada_r_j . Updated 18 years, 1 month ago

Here is the code to delete files from server. I am getting java.io.IOException: unsupported method: DELETE. Is there any alternative to delete files from server, please help me ASAP.

conn = (HttpConnection) Connector.open(url);
conn.setRequestMethod(“DELETE”);
conn.setRequestProperty
(“Authorization”, “Basic ” + mClub.enc_str);
int responseCode = conn.getResponseCode();

This discussion is locked

All Comments