javaworld

Mix protocols transparently in Web applications

Many Web applications, especially those deployed for e-commerce, necessitate the transmission of sensitive data between the Web server and the client browser. This data could include passwords, credit card numbers, or bank account numbers -- any information users would not want divulged to the general public. To protect sensitive data during transmission, developers at Netscape Communications created Secure Sockets Layer (SSL) and its...

javaworld

Class System, making copies

February 15, 2002 Q: This question seems easy, but nonetheless I have no idea how to do it. I have a byte array: a[100] . Is there a simple way to copy only from a[0] to byte a[50] ? (I don't want to use a for/while loop.) A: You're correct, the answer is really simple. The problem is that the answer lies in one of those classes everyone seems to overlook: java.lang.System. System includes the following method that does what you...