Few days before, one of my friend asked my help to customize a CSS/JavaScript calendar plugin. The requirement was to add time with that calendar. When I looked on that existing plugin, its structure was very complex and it doesnβt allow to add any input fields and take value when…
Display current year in JSP using JSTL
As a programming standard, we donβt use java scriptlets in our JSP files. The best practice is to use JSTLs in JSP files to load the dynamic contents. Displaying current year in JSP is one of the common requirement, at least for copyright messages. Displaying current year in JSP can…
Cron jobs in Linux or Unix
Cron job are used to schedule commands to be executed periodically. You can setup setup commands or scripts, which will repeatedly run at a set time. Cron is one of the most useful tool in Linux or UNIX like operating systems. The cron service (daemon) runs in the background and…
Solution for SSLHandshakeException
When we deal with calling secure URLs (HTTPS) from Java code we sometimes get SSLHandshakeException. Why? If your Java programs throws SSLHandshakeException, it means your Java application is unable to establish a secure connection with the given secure URL. This because the URL you are trying to access have no…