Possibly you need a later Java - is Java completely updated?
http://java.sun.com/javase/downloads/index.jsp
You might consider a beta Java SE if that won't fix it.
This is just a guess - I don't code software. Only a few people who
code software view posts in this newsgroup, so finding a better
newsgroup for your question might get you a better answer.
<> wrote in message
news: ups.com...
> Hi,
> I have one c++ application to get number of monitors from
> system. I am calling .exe of c++ application using java api through
> tomcat server in browser on window vista. right now I have two
> monitors attached in the system.one primary and other secondary. but
> when i call c++ application using java api through tomcat server, it
> lists only one primary monitor.
>
> i have some scenario for behavoiur of such application:
>
> (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 through tomcat server it displays
> only one monitor.
> (4) one important thing is that when i call same thing on Windows XP
> it works fine..(gives two monitors)
>
>
> can anybody tell that what could be the problem to get list of monitor
> through tomcat server on windows vista?
>
> Ravi.
>