Hi Damith,

You could do this is a couple of ways. The first would be to hook some 
javascript into your page, and use ajax to send asynchronous requests to 
a geoserver instance. The OpenLayers library has great support for both 
WMS and WFS request. The downside being that you have to deal with the 
"same origin policy", which restricts ajax requests going out to a 
server other than the one serving the javascript. In which case you need 
a proxy to get around.

The other option would be to write java code to do this and make 
requests using the java http libraries. Or alternatively include 
geotools in your web application which has support for ogc services. 
Once you have java code that can access your service you should be able 
to call it from your jsp page.

Hope that helps.

-Justin

Damith Amarasena wrote:
> Hello List,
> 
> I'm new to GeoServer and need some great help from you guys. I'm 
> building an web application to find shortest route. So, I need to know 
> how to send requests from a external JSP page into GeoServer. I'm using 
> PostGIS and pgrouting as well. Please help me.
> 
> Thanks and regards,
> damith
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel

-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to