[mapserver-users] Java - Mapserver
Steve Lime
steve.lime at dnr.state.mn.us
Tue Sep 3 14:44:12 PDT 2002
Aside from new development of an entire MapServer java base...
One way I've done some integration is by using a java bean that acts to
wrap a CGI instance of the mapserver. See the attached source code for a
first attempt. This was written to allow a java developer to embed maps
with dynamically generated points (on his side, in java) into to his
application. On the MapServer side you just have a basic template that
allows for the return of MapServer variables in a java collection
(hash). Simple, but effective in some instances. I've included a sample
template file as well...
Remember, just a first attempt at doing something like this.
Steve
>>> Giri Palanisamy <palanisamyg at ornl.gov> 08/30/02 07:56AM >>>
HI,
I have just installed a mapserver and the demo is working ok for me. I
would like to use Java, JSP with mapserver to generate maps. I have
windows
2000 server, also with Tomcat. Is there any "How to do" information
available? or can I have some sample demo projects?. I don't know how I
can
proceed. Any help inthis regard is greatly appreciated.
Giri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020903/c0596460/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MapServerBean.java
Type: application/octet-stream
Size: 3993 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020903/c0596460/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PointFeature.java
Type: application/octet-stream
Size: 261 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020903/c0596460/attachment-0001.obj>
More information about the MapServer-users
mailing list