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. Sometimes we need to clear the browser cache or prevent the browser from caching resources so that we always get the latest output from the server. Disabling caching of your web pages ensures your resources are coming every time…

Posted in JSP Servlet

Prevent browser from caching resources

Many of you tried to send mail from localhost for testing some functionality in the website like User Registration, Password Activation etc. in the local or development environment where there is no production mail server available, hence the mail sent is failed. But don’t worry; here I am going to present a tutorial which may…

Posted in Email XAMPP

How to send mail 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 we 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

Introduction This tutorial shows how to integrate Spring 3, Struts 2 and Hibernate 3 in the following example. In this example, Struts 2 will be used as a web framework and Spring 3 will be used as a core service. We will use ORM (Object Relational Mapping) framework Hibernate for our persistent layer to interact…

Posted in Hibernate Spring Core Struts

Integrate Spring 3, Struts 2 and Hibernate 3