Environment Used JDK 6 (Java SE 6) (To install JDK – Windows , Ubuntu) Eclipse Indigo IDE for Java EE Developers (3.7.1) (To install Eclipse, refer this page) Apache Tomcat 6.x (To install [...]
Project Description In the previous Servlet example, we configured datasource in Apache Tomcat and used JNDI look up. This Servlet example explains how to configure datasource in Apache Tomcat [...]
Post/Redirect/Get (PRG) Pattern Post/Redirect/Get (PRG) is a web development design pattern that prevents some duplicate form submissions, creating a more intuitive interface for users. When a [...]
Project Description This example explains how to write an application using Servlet and JSP which uses pagination to display the results. This application uses one table Employee and displays [...]