CCL Home Page
Up Directory CCL t015.html
slide

Jan K. Labanowski: "Tomcat, servlets, JSPs and other friends"

Servlets and Java Server Pages

Servlets and Java Server Pages were proposed by Sun Microsystems. They are very convenient for the Web, since they are portable, i.e., will run on any machine on which Java Virtual Machine is available.

Servlets are classes written in Java, which adhere to a specific API. The latest servlet specification is now 2.3.

Java Server Pages (JSP) are HTML pages which contain special tags. These tags represent Java source code. The JSP page is processed through a special processor which converts it to a source code of Java servlet class. Then the servlet source is compiled. And finally, the servlet is executed. The latest servlet spec is 2.3, and JSP spec is 1.2.

Before talking about servlets/JSP we need to have a few words about Java.

Modified: Wed Feb 13 20:23:37 2002 GMT
Page accessed 4719 times since Mon Feb 3 15:33:34 2003 GMT