An application deployed on Tomcat server (via Coldfusion11) suffers slowness problem. Sometimes opening up a https page could take 20 seconds or so. The problem was not experienced on CF9 (which doesn’t use Tomcat). 693 more words
Tags » Random Number
While doing our projects we often need to create random strings. These strings are useful in cases like creating a strong password, generate a id, use in validation or any other purpose. 805 more words
The following Java code snippet will generate the random number between two given values which are 0 and 5 in our example.
System.out.println("Entry : Java Embedding"); java.util.Random r = new java.util.Random(); int Low = 0; int High = 5; int R = r.nextInt(High-Low) + Low; System.out.println("Value of R : "+ R); System.out.println("Exit : Java Embedding"); setVariableData("riskCode",R); …135 more words