JuanCa SP

Greenhorn
+ Follow
since Feb 05, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by JuanCa SP

I'll try your recomendation.

Thanks you!

JuanCa SP
20 years ago
Thanks you!

JuanCa SP
20 years ago
Hi,

Can you recommend me a good book about applets? Not just a chapter about applet but the holy book about that.

Thanks!

JuanCa SP
20 years ago
Hi everybody,

I'm trying to configure a connection pooling in tomcat5/oracle 9i.

I have read the example in apache's web page and similar topics in this section. But it seems I can't configure it in the right way.

What I have done is the following:

1. Put the file classes12.jar in common/lib
2. Add in server.xml:

3. Add in web.xml:

4. In the code:


But everything what I got is:


What is wrong?

Thanks for your help!

JuanCa SP
20 years ago
Hi,

If an applet has to connect to a database, the jar file (the applet) would have to include the driver? I'm talking about using thin driver.

Regards,

JuanCa SP
20 years ago
Hi,
If the number is a byte your must see the bit 7. It's the sign of the number! It's is 1 then it's a negative number. And of course, if it's 0 then it's a positive number.
Negative numbers are always in 2 complement.
How can you "read" that representation? Easy
-4 = 1111 1100
Discard the bit 7 (the sign of the number). Then you'll have:
111 1100
Invert the pattern:
000 0011
Add 1 bit
000 0100
And now you have a number 4.. but.. but.. do you remember the sign? Yes! And now you have -4.
Hi Shahfazal,
Just insert between the line 33 and 34 the next sentence:

Got it?
Shivan,
If two threads have the same priority then the JVM will choose one (you can't know wich one).
That's because you're declaring an instance of an anonymous subclass of B. So you can add/declare methods and variables in that case.