当前位置:网站首页>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>边栏推荐
- 链表(一)——移除链表元素
- Idea generates entity classes from database tables
- JDBC learning (I) -- implementing simple CRUD operations
- Differences between overloads, rewrites, abstract classes and interfaces
- MySQL (II) - basic operation
- CAD secondary development +nettopologysuite+pgis reference multi version DLL
- freeswitch使用mod_shout模块播放mp3
- 搭建你jmeter+jenkins+ant
- FPGA - 7 Series FPGA selectio -07- iserdese2 of advanced logic resources
- Uni app wechat applet sharing function
猜你喜欢

助力涨点 | YOLOv5结合Alpha-IoU

Rn7302 three-phase electric quantity detection (based on STM32 single chip microcomputer)

语音增强-频谱映射

FPGA - 7系列 FPGA SelectIO -07- 高级逻辑资源之ISERDESE2

【Paper Reading-3D Detection】Fully Convolutional One-Stage 3D Object Detection on LiDAR Range Images

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

Freeswitch uses origin to dialplan

AutoCAD C# 多段线自相交检测

职场IT老鸟的几点小习惯

ROS rviz_ Satellite function package visualizes GNSS track and uses satellite map
随机推荐
windows上安装redis并永久修改密码,及ssm框架集成redis
Scripting and programming languages
CRC32概述以及实现和使用
Drop down list processing in Web Automation
Singleton singleton mode
API learning of OpenGL (2007) gltexcoordpointer
4~20mA输入/0~5V输出的I/V转换电路
4~20ma input /0~5v output i/v conversion circuit
Introduction to Qualcomm platform WiFi -- Wi Fi display software
Yygh-7-user management
三极管驱动无刷电机
[produced by Xinghai] operation and maintenance inspection collection
创建格式化时间,格式化时区的gson对象。json解析时间格式化 ZonedDateTime
easyui 重置多条件查询
Alibaba cloud SMS service (Complete Guide), SMS sending function implementation.
YOLOv5增加小目标检测层
ROS rviz_ Satellite function package visualizes GNSS track and uses satellite map
[online tutorial] official iptables tutorial -- learning notes 1
ImportError: cannot import name 'ensure_ dir_ Possible solutions for exists'
RN7302三相电量检测(基于STM32单片机)