[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [mapserver-users] Java - Mapserver



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@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

mapext=[mapext] img=http://[host]:[port][img]

Attachment: MapServerBean.java
Description: Binary data

Attachment: PointFeature.java
Description: Binary data