当前位置:网站首页>Servlet value passing JSP
Servlet value passing JSP
2022-06-28 06:33:00 【jiefang2】
servlet:
if (result == 1){
request.setAttribute("mess", userName);
request.getRequestDispatcher("login_ok.jsp").forward(request, response);
}else {
response.sendRedirect("./login_error.jsp"); // Redirect to ./login_error.html
}jsp:
<label style="align-content: center">${mess} Login account succeeded , please
<a href="login.jsp" style="color:blue;"> continue </a></label>边栏推荐
- Introduction to browser tools: think sky browser, team work browser
- Boost the rising point | yolov5 combined with alpha IOU
- CAD二次开发+NetTopologySuite+PGIS 引用多版本DLL问题
- CRC32概述以及实现和使用
- Failed to start component [StandardEngine[Catalina]. StandardHost[localhost]]
- socke.io長連接實現推送、版本控制、實時活躍用戶量統計
- Tryout title code
- 4~20mA输入/0~5V输出的I/V转换电路
- 职场IT老鸟的几点小习惯
- AttributeError: 'callable_ iterator' object has no attribute 'next'
猜你喜欢

socke.io长连接实现推送、版本控制、实时活跃用户量统计

Eyebeam advanced settings

Lombok @equalsandhashcode annotation how to make objects The equals () method compares only some attributes
![[staff] arpeggio mark](/img/45/0ee0089b947b467344b247839893d7.jpg)
[staff] arpeggio mark

Slow content advertising: the long-term principle of brand growth

FPGA - 7系列 FPGA SelectIO -08- 高级逻辑资源之OSERDESE2

VM332 WAService.js:2 Error: _vm.changeTabs is not a function报错

Difficulty calculation of Ethereum classic

socke.io長連接實現推送、版本控制、實時活躍用戶量統計

Yolov5 adds a small target detection layer
随机推荐
easyui 重置多条件查询
Teach you how to use UCOS
[produced by Xinghai] operation and maintenance inspection collection
Failed to start component [StandardEngine[Catalina]. StandardHost[localhost]]
创建格式化时间,格式化时区的gson对象。json解析时间格式化 ZonedDateTime
Build your jmeter+jenkins+ant
Error reporting - resolve core JS / modules / es error. cause. JS error
AutoCAD C # Polyline Small Sharp angle Detection
移动广告发展动向:撬动存量,精细营销
Yygh-6-wechat login
MySQL common functions
JDBC learning (I) -- implementing simple CRUD operations
YYGH-BUG-03
idea根据数据库表生成实体类
Example of MVVM framework based on kotlin+jetpack
微信小程序分页功能,下拉刷新功能,直接干货拿来就用
Students who do not understand the code can also send their own token. The current universal dividend model can be divided into BSC and any generation B
Linux Mysql 实现root用户不用密码登录
YYGH-BUG-02
Floating and positioning