<html>
        <head>
                <title>GeoExt WMS Browser</title>
                <script type="text/javascript" src="/ext/adapter/ext/ext-base.js">
                </script>
                <script type="text/javascript" src="/ext/ext-all.js">
                </script>
                <link rel="stylesheet" type="text/css" href="/ext/resources/css/ext-all.css" />
                <script src="/OpenLayers/lib/OpenLayers.js">
                </script>
                <script type="text/javascript" src="/GeoExt/lib/GeoExt.js">
                </script>
                <script type="text/javascript">
        Ext.BLANK_IMAGE_URL = "/ext/resources/images/default/s.gif";

        Ext.onReady( function() {

                OpenLayers.ProxyHost= "/cgi-bin/proxy.cgi?url=";

                var grid = new Ext.grid.GridPanel({
                        title: "Available WMS Layers",
                        renderTo: document.body,
                        width: 800,
                        height: 150,
                        viewConfig: {forceFit: true},
                        store: new GeoExt.data.WMSCapabilitiesStore({
                                url: "http://localhost/geoserver/wms?SERVICE=WMS&REQUEST=GetCapabilities",
                                autoLoad: true
                        }),

                        columns: [
                        {header: "Name", dataIndex: "name", sortable: true},
                        {header: "Title", dataIndex: "title", sortable: true},
                        {header: "Abstract", dataIndex: "abstract"}
                        ]

                });

        });
                </script>
        </head>
        <body>
        </body>
</html>