Archive for the ‘Servlet’ Category

Simple guide to setup SSL in Tomcat

I have enabled SSL in tomcat many times however initially I struggled to get it in running condition. So I thought to share a simple approach I am following now days. Step 1: Run tool “Keytool” provided by the JRE to create a “keystore file”. The command to run tool is: keytool -genkey -alias tomcat [...]

J2EE – Servlet , JSP , JSF and JMS Version Table

J2EE – Servlet , JSP , JSF and JMS Version Table

Create Servlet using Annotation – Servlet 3.0

Create the Servlet without any deployment descriptor. Using Annotations

Step by Step DWR Application – Simple AJAX in JAVA

Step by Step DWR Application – Simple AJAX in JAVA

Servlet, Hibernate, jQuery and Ajax based google like chat

Servlet, Hibernate, jQuery and Ajax based google like chat with source code

Read File Present inside Java and J2EE Project

How to Read File Present inside Java and J2EE Project

Difference in SendRedirect() and RequestDispatcher() in Servlet

difference in SendRedirect() and RequestDispatcher() in Servlet

Life Cycle of Servlet

Explain Life Cycle of Servlet

How container handles the Servlet request

How container handles the Servlet request or How the apache Tomcat works

Example to Override the init() method of the servlet

Example to Override the init() method of the servlet