Hello,
I was wondering if it was possible to have the HTML which accesses an applet on one server, and have the applet code actually running on another server?
Thanks,
Alex
I don't think there is a way to query the rs for its size.
The solution I wrote will allow you to get the number for your array and then use rs.first() to move the rs "back to the beginning" as Inigo might say.
If this is a solution you've tried, but for speed you don't want to loop...
You can do something like this:
//(rs is your result set)
int count=0;
while(rs.next())
count ++;
}
rs.first();
System.out.println("The size of the result set is: "+count);
alex
OK. Here is the main method, with the Engine.load() call in it:
/////////////////////////////////////////
public static void main(String[] args) {
int numThreads = new Integer(args[0]).parseInt(args[0]);
System.out.println(numThreads);
try {
Engine.load();
} catch (...
Hello,
This is my first post here.
We have a static engine which returns reports, and I am working with a multi threaded testing application in an effort to test its scalability.
We are running inside java 1.1.8 on Solaris 7, with dual 4?? mhz processors and a couple gigs of ram. Here's my...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.