RSA Encryption/Decryption RSA is a cryptosystem, which is known as one of the first practicable public-key cryptosystems and is widely used for secure data transmission. In such a cryptosystem, the encryption key is public and differs from the decryption key which is kept secret. In RSA, this asymmetry is based on the practical difficulty of…

Posted in Java Security

Encryption And Decryption Using RSA In Java

I am going to show you how to create sticky footer. In other words, this tutorial demonstrates how to keep the footer at the bottom of the page on short documents or pages with little content using CSS and HTML.

Posted in CSS HTML

Sticky footer at bottom using CSS and HTML

Introduction In this post we will see how to show warning message to user when session expires in a web application. So we will redirect user to login page once session has expired. We know that we let users login to the web application before a user can perform some sensitive activities like online transactions,…

Posted in JSP Servlet

Show Warning Message to User When Session Expires

In this article I am going to show you how to prevent user going back to the login page if a user is already logged in or redirect a user to the login page if the user is not already logged in. When browser caches the resources then clicking on the browser’s back button will…

Posted in JSP Servlet

Prevent user going back to login page if already logged in using filters

Introduction In this tutorial I am going to tell you how you can prevent cache in browser using Servlet in web applications. Sometimes you may need to clear the browser cache or prevent the browser from caching resources so that users always get the latest output from the server. Disabling caching of web pages ensures…

Posted in JSP Servlet

Prevent Browser From Caching Resources Using Servlet Filter

Table of Contents Introduction Prerequisites Install XAMPP Configure XAMPP for Sending Email Setup Email Clients Setup Microsoft Outlook Express Sending Email using Outlook Setup eM Client Sending Email using eM Client Introduction Many of you tried to send mail from localhost for testing some functionality in the website like User Registration, Password Activation etc. in…

Posted in Email XAMPP

How To Send Email From Localhost With XAMPP And Mercury32 In Windows

Introduction I am going to show you how to build infinite dynamic multi level nested category with PHP and MySQL server. Here I will show example of infinite level of categories and subcategories on the fly from a MySQL database. So I am going to give an example on infinite multi level nested category with…

Posted in MySQL PHP

Infinite Dynamic Multi-Level Nested Category With PHP And MySQL

Introduction Here is an example on more file upload button attachment dynamically using jQuery. This example will allow you to attach more file upload button dynamically. The technology I will use here to attach more file upload button using JavaScript and jQuery. Note that this example will not show you how to upload file or…

Posted in File Upload JavaScript jQuery

More file upload button attachment dynamically using jQuery

Introduction In this post we will see how to cache static resources like css, js and images for a specific period of time. So we will specify the time for how long we want to cache such static resources. Static resources like css, js images etc. need not be reloaded from the server every time…

Posted in Java Servlet

Cache static resources like css, js and images for a specific time period

This tutorial shows how to configure GeSHi in Joomla 3. GeSHi is known as Generic Syntax Highlighter. We configure GeSHi to highlight the source code in tutorials in order to enhance the experience of user’s readability. Highlighting the source code in tutorials also enhance the beautification of the tutorials. First download and install the plugin from…

Posted in Joomla

How to configure GeSHi(Generic Syntax Highlighter) in Joomla 3

This tutorial shows how to create effective pagination in PHP and MySQL. When there are lots of data need to be shown on a page then the data grows at the bottom of the page hence the scroll appears. Most of the times it becomes very irritating to go to the bottom so pagination comes…

Posted in MySQL PHP

Create An Effective Pagination In PHP And MySQL

Introduction This tutorial shows database connection example in PHP and MySQL. Here I will create a PHP file with commonly used functions on how to connect to MySQL database using PHP. It is mandatory to establish database connection when you are working on a dynamic application. The database may be any one of your choice…

Posted in MySQL PHP

Database Connection Example In PHP and MySQL