Java applet manifest – Allow all Caller-Allowable-Codebase

My findings are the same: This prevents warnings with Java 7u21 – 7u40: Manifest-Version: 1.0 Trusted-Library: true This exclusivly prevents warnings with Java 7u45: Manifest-Version: 1.0 Application-Library-Allowable-Codebase: * Caller-Allowable-Codebase: * Mixing both won’t work in 7u45. Now what? Did anyone find a way to allow SIGNED applets with “all-permissions” to run without warnings in both … Read more

What is the meaning of the “Application Requires iPhone Environment” key in info.plist?

Here’s Apple’s documentation on the “LSRequiresiPhoneOS” bits of an application’s info.plist file. Basically all it means is that the app is designed to run under iOS. This flag should be set to YES no matter if the target device is an iPhone, iPod Touch or iPad. Who knows, maybe in the not-so-distant future, MacOS will … Read more

socket programming multiple client to one server

For every client you need to start separate thread. Example: public class ThreadedEchoServer { static final int PORT = 1978; public static void main(String args[]) { ServerSocket serverSocket = null; Socket socket = null; try { serverSocket = new ServerSocket(PORT); } catch (IOException e) { e.printStackTrace(); } while (true) { try { socket = serverSocket.accept(); … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)