当前位置:网站首页>JSP learning (2) -- JSP script elements and instructions
JSP learning (2) -- JSP script elements and instructions
2022-06-22 16:35:00 【xiao_ zhu_ ting_ feng】
1.0 jsp Script elements
Script element composition
1.1 Expression format
<%=java expression %>
No spaces
Non pluggable statement
Must be able to evaluate
Used to print variables or output values .
1.2 Scriptlet
Grammar format :<%java Code %>
No spaces
Classes and methods cannot be defined
Valid on current page , Will not be shared by other threads
You can write in it java Code for . Definition java Variables and writing java sentence .
1.3 Statement
Grammar format <%! Function or constant %>
No spaces
Valid throughout the page , Will be shared by multiple threads
You can define global variables and methods in it , class .
2.0 Jsp Declaration and jsp scriptlet The difference between
count1 It's been accumulating , but count2 The value of does not change
2.1 Jsp Instructions
page Common attributes of instructions
边栏推荐
- GD32F4xx MCU 驱动mcp2515扩展CAN接口
- 执行逻辑大同小异的实现类使用模板模式
- SAP abap 数据类型,操作符和编辑器-02
- 面试题之 <img>标签 的 title 和 alt 有什么区别
- [Shanda conference] definitions of some basic tools
- 机器学习笔记 - HaGRID—手势识别图像数据集简介
- Unity game optimization (version 2) learning record 8
- Gd32f4xx MCU drives MCP2515 to expand can interface
- Machine learning notes - Hagrid - Introduction to gesture recognition image data set
- Smart forms-014 in SAP ABAP
猜你喜欢
随机推荐
视频爆炸时代,谁在支撑视频生态网高速运行?
SAP ABAP 中 OpenSQL和Native SQL-05 本教程的目的不是教您 SQL 或数据库概念
NiO file and folder operation examples
sql语法检测
实现一个Container全局组件步骤(给还不会使用组件的新手一个思路,大佬绕道)
接口幂等性设计
面试题之JS判断数据类型的方法
Summary of JS methods for obtaining data types
ABAP query tutorial in sap: sq01, sq02, sq03-017
Basic knowledge of audio and video | analysis of ANS noise suppression principle
短视频源码开发,优质的短视频源码需要做好哪几点?
数睿数据深度 | 关于软件自主可控,源代码向左,无代码向右
Runtime -- explore the nature of classes, objects, and classifications
异步IO的简单理解
执行逻辑大同小异的实现类使用模板模式
面对默认导入失败的情况
Implementing factory mode using enumeration
Lecture 6 of slam Lecture 14 -- nonlinear optimization
【C语言】深度剖析指针和数组的关系
GD32F4xx MCU 驱动mcp2515扩展CAN接口
















