JSP & Servlets

01.07. JSP Scripting Element

JSP Scripting Element In this article, we will demonstrate how to use the Scriptlets element in a web application. There are five scripting elements in JSP: Expression Scriptlet Declaration Directive Comment In the following table, we have demonstrated the JSP scripting element                                                             JSP Scripting Element Scripting Element Syntax Example Expression <%= expression %> <%= …

01.07. JSP Scripting Element Read More »

01.04. Hello servlets

HELLO SERVLETS In this article, we will demonstrate a basic program, which helps to print hello servlets using Java servlets. In order to do so, we add the JAR file. The following program demonstrates the sample code structure of a servlet example to show Hello World. This program also contains HTML code for designing the …

01.04. Hello servlets Read More »