来自java spring mvc web app的Fiddler中没有显示的传出http请求

时间:2013-07-16 02:59:20

标签: fiddler

您好我正在从一个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);

有人知道为什么这些外拨电话没有出现在小提琴手中?

1 个答案:

答案 0 :(得分:3)

您是否记得将JVM配置为代理其HTTP请求? http://fiddler2.com/documentation/Configure-Fiddler/Tasks/ConfigureJavaApp