Please enable JavaScript.
Coggle requires JavaScript to display documents.
SCRIPTING ELEMENTS, Action of JSP, advantages of JSP :, :red_flag:Implicit…
SCRIPTING ELEMENTS
-
Code placed in between the expression tag is written to the output stream of the response. So no need to write out.print() to write data
DECLARATION TAG
Used to declare fields and methods. The code written inside this tag is placed outside the service() method of auto generated servlet.
-
SCRIPLET TAG
-
In JSP, Java code can be written inside the JSP page using scriplet tag
Action of JSP
-
-
-
-
-
-
forward the user to another page,
-
-
-
-
JSP Directive
Two main types:
Page
That do thing like import classes, customize the servlet superclass, and the like
Import attribute
-
import="package.class1,.....,package.classN"
-
-
Include
It will lets you insert a file into the servlet class at the time the JSP file is translated into servlet.
-
-
With relative URLs in general, the system to interpret the URL relative to the home directory of the Web server by starting with a forward slash
-
Static HTML, scripting elements, directives, and actions.
-
-
-
-
-
-
-
-