I would like to know how to call URL with Post method in servlet. The url require POST method. The code is as follows:
URL url = new URL
URLConnection uc = url.openConnection();
uc.setDoOutput( false );
But it still has a problem that can't return anything. I think the problem is method type. Please give me help.