<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi,<br>
    <br>
    i have a problem with WMSGetFeatureInfo. I want to show the response
    from the geoserver in a popup-window.<br>
    CODE:<br>
    <br>
    <i><small><small>    var featureInfo = new
          OpenLayers.Control.WMSGetFeatureInfo({<br>
                  url:
          '<a class="moz-txt-link-freetext" href="http://sfb806srv.uni-koeln.de:8080/geoserver/wms">http://sfb806srv.uni-koeln.de:8080/geoserver/wms</a>',<br>
                  title: 'Info:',<br>
                  maxFeatures: 1,<br>
                  queryVisible: true,<br>
                  eventListeners: {<br>
                      getfeatureinfo: function(event){<br>
                          //if( event.text != "\n" &amp;&amp; event.text
          != "") {<br>
                               new GeoExt.Popup({         //utilizing
          the GeoExt popup functionality<br>
                               title: "Info",<br>
                               autoScroll: true,<br>
                               map: map,<br>
                               maximizable: false,<br>
                               collapsible: false,<br>
                               unpinnable: false,<br>
                               anchored: false,<br>
                               location:
          map.getLonLatFromPixel(event.xy),<br>
                               html: event.text<br>
                               }).show();<br>
                          //}<br>
                      }<br>
                  }<br>
              });<br>
              map.addControl(featureInfo);<br>
              featureInfo.activate();</small></small></i><br>
    <br>
    A Popopup shows up, but its empty:<br>
     <img alt="" src="cid:part1.00030304.08000809@web.de" width="169"
      height="88"><br>
    <br>
    <b>Firebug:</b><br>
    <b>Params:</b><br>
    <table selected="true" role="tabpanel" class="netInfoParamsText
      netInfoText netInfoParamsTable " cellpadding="0" cellspacing="0">
      <tbody class=" ">
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">BBOX</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">-5023788.344356,1424785.721383,10806625.958781,9975948.94817</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">FEATURE_COUNT</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">1</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">FORMAT</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">image/png</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">HEIGHT</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">437</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">INFO_FORMAT</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">text/html</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">LAYERS</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">SFB806DB:Pfeile</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">QUERY_LAYERS</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">SFB806DB:Pfeile</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">REQUEST</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">GetFeatureInfo</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">SERVICE</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">WMS</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">SRS</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">EPSG:900913</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">STYLES</span></td>
          <td role="list" class="netInfoParamValue "><br>
          </td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">VERSION</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">1.1.1</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">WIDTH</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">809</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">X</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">278</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">Y</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">224</code></td>
        </tr>
      </tbody>
    </table>
    <b>Header:</b><br>
    <div class="netInfoHeadersGroup netInfoResponseHeadersTitle "><span
        class=" ">Antwort-Header</span><span class="netHeadersViewSource
        response collapsed ">Quelltext anzeigen</span></div>
    <table class=" " cellpadding="0" cellspacing="0">
      <tbody role="list" class="netInfoResponseHeadersBody ">
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">Server</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">Apache-Coyote/1.1</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">Content-Encoding</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">gzip</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">Content-Type</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">text/html;charset=UTF-8</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">Content-Length</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">391</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">Date</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">Tue, 01 Feb
              2011 13:29:00 GMT</code></td>
        </tr>
      </tbody>
    </table>
    <div class="netInfoHeadersGroup netInfoRequestHeadersTitle "><span
        class=" ">Anfrage-Header</span><span class="netHeadersViewSource
        request collapsed ">Quelltext anzeigen</span></div>
    <table class=" " cellpadding="0" cellspacing="0">
      <tbody role="list" class="netInfoRequestHeadersBody ">
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">Host</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">sfb806srv.uni-koeln.de:8080</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">User-Agent</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">Mozilla/5.0
              (Windows; U; Windows NT 6.1; de; rv:1.9.2.13)
              Gecko/20101203 Firefox/3.6.13</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">Accept</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">Accept-Language</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">de-de,de;q=0.8,en-us;q=0.5,en;q=0.3</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">Accept-Encoding</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">gzip,deflate</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">Accept-Charset</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">ISO-8859-1,utf-8;q=0.7,*;q=0.7</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">Keep-Alive</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">115</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">Connection</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow ">keep-alive</code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">Referer</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow "><a class="moz-txt-link-freetext" href="http://localhost/webgis/webgis.html">http://localhost/webgis/webgis.html</a></code></td>
        </tr>
        <tr role="listitem" class=" ">
          <td role="presentation" class="netInfoParamName "><span
              class=" ">Origin</span></td>
          <td role="list" class="netInfoParamValue "><code
              role="listitem" class="focusRow subFocusRow "><a class="moz-txt-link-freetext" href="http://localhost">http://localhost</a></code></td>
        </tr>
      </tbody>
    </table>
    <br>
    <b>Response and HTML are empty.</b><br>
    <br>
    Some hints refered me to things like proxy.cgi and stuff. But all
    this didn't helped me.<br>
    <br>
    Why do the popup remains empty and how to fix it? Is it because i'm
    runnig it local?<br>
    <br>
    Kind regards<br>
    <br>
    Kai<br>
    <br>
     <br>
    <br>
  </body>
</html>