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

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

Introduction This tutorial shows how to create nested comment system in PHP MySQL and AJAX. This nested comment system is also called hierarchical comment system. Here I will use MySQL database and jQuery library. This threaded or nested comment system in PHP AJAX accepts reply up to maximum of five level depth. If you want…

Posted in AJAX jQuery PHP

Nested Comments System in PHP, MySQL and AJAX

Introduction In this tutorial we will create web application for Spring, JSP and Servlet integration example. In this spring, jsp and servlet integration example we will use spring version 3, jsp version 2 and servlet version 3. Though there are several MVC frameworks like JSF, Struts, Spring MVC etc. but still if you need to…

Posted in JSP Servlet Spring MVC

Spring, JSP and Servlet integration example

This tutorial shows how we can configure exception/error handling globally using deployment descriptor, servlet and jsp. The aim of this tutorial is to teach whenever an exception or error occurrs in an web based application then that exception or error will be thrown in an appropriate manner and show the error page with the exception or error information in jsp page.

Posted in JSP Servlet

Global Exception configuration using web.xml, servlet and jsp