Archive for May, 2010

Lifecycle of a JSP Page

Let us take a look at the life-cycle of a JSP Page

• When a first request is made to the server the JSP files are compiled into servlets.

Lifecycle of a JSP Page



Read the rest of this entry »

Dealing with Java Server Page and Servlets

Let’s see how to deal with Java Server Page and Servlets, and their uses…

• Read form data
• Read HTTP request headers

Dealing with Java Server Page and Servlets


• Set HTTP status codes and response headers

• Use cookies and session tracking

• Share data among servlets

• Remember data between requests

• Get fun, high-paying jobs

An alternative JSP syntax

Here’s the example of JSP syntax
Read the rest of this entry »

How to Display Image in HTML

With HTML you can display images in a document; Here’s how:
Read the rest of this entry »