当前位置:网站首页>Common operations of JSP
Common operations of JSP
2022-07-03 07:22:00 【Maple Leaf pear flower】
Main records commonly used JSP The operation of
- jsp Pass data in
1、 To transfer data
a.jsp
<a href="./b.jsp?id=1"> Jump </a>
b.jsp
<%=request.getParameter("id")%>
When I get the data , If the data is of string type and is not directly in html It shows that , Need to be in js In the operation , It takes "<%=request.getParameter("id")%>" quotation marks , Otherwise, it will report a mistake
To be continued
边栏推荐
- Take you through the whole process and comprehensively understand the software accidents that belong to testing
- Setting up the development environment of dataworks custom function
- 7.2刷题两个
- C WinForm framework
- 4279. 笛卡尔树
- Raspberry pie update tool chain
- [set theory] partition (partition | partition example | partition and equivalence relationship)
- “百度杯”CTF比赛 2017 二月场,Web:爆破-1
- "Baidu Cup" CTF game 2017 February, Web: blast-1
- 2021-07-18
猜你喜欢
随机推荐
2021-07-18
Sorting, dichotomy
JUC forkjoinpool branch merge framework - work theft
Arduino Serial系列函数 有关print read 的总结
Circuit, packet and message exchange
Pat grade a real problem 1166
[attribute comparison] defer and async
Advanced API (multithreading)
Advanced API (serialization & deserialization)
Custom generic structure
PAT甲级真题1166
Advanced API (batch image Download & socket dialog)
4279. Cartesian tree
20220319
How to specify the execution order for multiple global exception handling classes
VMware virtual machine installation
Inno setup production and installation package
Win 2008 R2 crashed at the final installation stage
【最详细】最新最全Redis面试大全(50道)
SecureCRT取消Session记录的密码