...
>(1) when i run directly c++ application on vista it works fine.(gives
>two monitors)
>(2) when i run using sample java code without tomcat server it works
>fine..(gives two monitors)
>(3) when i am calling from browser ...
What browser? Have you tried a UA (user agent,
broswer) from a different manufacturer? Does it
work with the other UA?
...
>can anybody tell that what could be the problem to get list of monitor
>through tomcat server on windows vista?
Not yet, but one thing I can tell you is this. Each
sentence should start with a single Upper Case
letter. This makes messages easier to read, and
therefore more likely to gain the attention they
deserve.

Signature
Andrew Thompson
http://www.athompson.info/andrew/