Ryan's Java world!

          something about Java and opensource!

          BlogJava 首頁 新隨筆 聯(lián)系 聚合 管理
            51 Posts :: 25 Stories :: 59 Comments :: 0 Trackbacks

          Roumen的blog上,給我們提供了一個使用netbeans的小技巧, 用來監(jiān)控http通信,

          剛好最近幾天做的一個東西要知道通信的細(xì)節(jié), 用的都是httpwatch, 沒有和ide集成起來,感覺不是很爽. 現(xiàn)在試試這個功能吧. 呵呵

          Did you know that you can use NetBeans to monitor all communication of your web application - between the web browser and the web server? Indeed, you can see all the requests, read the headers, see the request parameters, etc. But not only that, you can actually save these requests and replay them.

          This becomes very handy when testing your web application. For example you want to open a page with different parameters so you replay the request with modified (or even new) parameters.


          HTTP Monitor in NetBeans


          HTTP monitor becomes really handy when working with AJAX. You can see every individual request and response, even though the form wasn't submitted - so you can actually monitor how javascript code requests new XML documents as the user goes through the page. It is quite amazing how much communication there can be between the webpage and server in some AJAX apps. So HTTP monitor can also help you see if you are not doing too many requests to the server.

          HTTP monitor is accessible via Window | HTTP monitor. In case of Tomcat the monitor is enabled by default, but in case of Sun appserver it needs to be activated in Server Manager. I do not know about the other servers... please add a comment if you know how you can monitor requests to other appservers.

          posted on 2006-08-15 09:29 冰雨 閱讀(1661) 評論(0)  編輯  收藏 所屬分類: Opensource

          JSF中文技術(shù)文摘
          主站蜘蛛池模板: 酉阳| 西安市| 孙吴县| 齐齐哈尔市| 常山县| 巴马| 秦皇岛市| 武胜县| 九龙县| 米易县| 永寿县| 汝南县| 浦江县| 肇州县| 黔西| 黄冈市| 瑞昌市| 中卫市| 贡嘎县| 修水县| 天津市| 阳谷县| 收藏| 平舆县| 托克逊县| 惠州市| 油尖旺区| 金湖县| 大姚县| 玉田县| 枞阳县| 桃江县| 岑巩县| 青铜峡市| 股票| 体育| 千阳县| 宜宾市| 北流市| 黄冈市| 菏泽市|