java.io.IOException: Server returned HTTP response code: 500 for URL: http://loc alhost:8080/examples/webserver at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon nection.java:709) at test2.test25(test2.java:49) at test2.main(test2.java:90)当我去掉那个静态方法后,运行又正常。
alhost:8080/examples/webserver
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:709)
at test2.test25(test2.java:49)
at test2.main(test2.java:90)当我去掉那个静态方法后,运行又正常。