JSP declaration statement: <%! Declaration statement%>, usually declare
global
variables , constants, methods, classes
JSP Scriptlet: <%java code%>, is to execute a piece of code (remember to add ";" after the code), because Is the code to be executed, ";" is definitely required. A declared variable is a local variable .
JSP expression: <%=expression%>, just present a certain value (such as a string)
JSP Scriptlet: <%java code%>, is to execute a piece of code (remember to add ";" after the code), because Is the code to be executed, ";" is definitely required. A declared variable is a local variable .
JSP expression: <%=expression%>, just present a certain value (such as a string)