您好我正在从一个java spring mvc web应用程序发送一些http请求,当我打开fiddler时,我看不到任何外向响应。
使用此代码发送到类似的地址:http:/// getstuff?stuff =“whatever”
HttpGet httpget = new HttpGet(url);
log.info("Executing request " + httpget.getURI());
// Create a response handler...
ResponseHandler<String> responseHandler = new BasicResponseHandler();
responseBody = httpclient.execute(httpget, responseHandler);
有人知道为什么这些外拨电话没有出现在小提琴手中?
答案 0 :(得分:3)
您是否记得将JVM配置为代理其HTTP请求? http://fiddler2.com/documentation/Configure-Fiddler/Tasks/ConfigureJavaApp