<div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think i use wrong word to describe my problme.So i will ask again,Really sorry for mistake</blockquote>
<div><br></div><div> <span style>I am new to OpenLayers and I want to add OpenLayers.Control.WMSGetFeatureInfo to get feature</span></div><p style>info to website.But i can&#39;t figure out right method.</p><p style>I also see the source code of GeoServer OpenLayers page and still I can&#39;t find the syntax of OpenLayers.Control.WMSGetFeatureInfo code?</p>
<p style>I use geoserver,apache-tomcat-6.0.35 and open layer 2.10.Should i use proxy to call OpenLayers.Control.WMSGetFeatureInfo?</p><p style>This is my GeoServer WMS URL:</p><pre style="margin-top:0px;margin-bottom:10px;padding-top:5px;padding-right:5px;padding-bottom:5px;padding-left:5px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-size:12px;vertical-align:baseline;overflow-x:auto;overflow-y:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,serif;background-color:rgb(238,238,238);color:rgb(51,51,51);line-height:18px;text-align:left">
<code style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,serif;color:rgb(34,34,34)"><a href="http://localhost:8080/geoserver/sac/wms?
service=WMS&amp;
version=1.1.0&amp;
request=GetMap&amp;
layers=sac:contour&amp;">http://localhost:8080/geoserver/sac/wms?
service=WMS&amp;
version=1.1.0&amp;
request=GetMap&amp;
layers=sac:contour&amp;</a>
styles=&amp;
bbox=187754.5,204980.703125,192031.40625,210022.890625&amp;
width=434&amp;height=512&amp;s
rs=EPSG:5235&amp;
format=application/openlayers
</code></pre><p style>Pls give me sample code which calling OpenLayers.Control.WMSGetFeatureInfo? Thank you.</p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br><br>

</blockquote></div><br></div>