how can I create more than one image formate

From: chirag parikh <chiragparikh007@hotmail.com>
Date: Mon May 07 2001 - 10:20:08 EDT

Hi there,
The last mail that you sent me for the WMS web server, is very help ful and
i did lot progress in that case. Now I m creating more then one image
format from one program files and one proeperty file. Now the problem is
when i gave more then one image formatter in properties file it just take
first one instead of related one. Here is the part of code of property
file.

Properties file:

formatters=gif jpg
gif.class=com.bbn.openmap.image.AcmeGifFormatter
jpg.class=com.bbn.openmap.image.SunJPEGFormatter

Here I get the formatter value from the servlet code. So How can i set that
formatter in java file so it returns the image bytes of that format.
Through using this porperty file or without using this property file.

Is that possible that i cant use this three line in my property file and set
that from the java file. I did that and then it gave me error.

So let me know what are the other ways to do this.
thanks in advance
chirag

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon May 7 10:22:37 2001

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT