I have recently moved all my websites to a SSD cloud hosting. I installed Virtualmin in the new server and found that it is very useful, powerful and the most important thing - it is free (open source software). … [Read more...]
Java: How To Use SQL LIKE Clasue with PreparedStatement?
One may find that using SQL's LIKE clause in Java PreparedStatement is not straight forward. There is no documentation on how the LIKE clause should be used when it is used with the PreparedStatement object. Thus, most of the programmer would rather use the full SQL to execute the statement. … [Read more...]
Security: US Cert Warns Users To Disable Java In Web Browsers
US Certs warns users to disable Java in web browsers on 10 Jan 2013. The main reason is due to Java 7 Update 10 and earlier versions of Java 7 contain a vulnerability that can allow a remote, unauthenticated attacker to execute arbitrary code on a vulnerable system. … [Read more...]
Java: How To Create A Simple Web Server Using HttpServer
To program a web or HTTP server from nothing could be very difficult. It's gonna to take you to write thousands of source instructions. The HTTP protocol it self is pretty to understand but it complicated to implement them in programming language. It involves a lot of parsing and need a lot of understanding how the HTTP requests and HTTP responses work together. … [Read more...]
Javascript: Get Query String and Key-Value Pairs from URL
In web development, it is important to know how to get query string at the client side from the URL being sent to the server. It is useful when your code (Javascript) that run at client's browser need to know what data has been sent to the server and use the information to produce further more useful information. … [Read more...]