当前位置:网站首页>Internship log - day04
Internship log - day04
2022-07-07 09:53:00 【Don't ask me y】
Scattered records
LoginPage
First of all : Request login
second : Request main page
Two requests
1. Landing successful , Draw the interface of successful login
2. Use forward The way ( Transfer problems that cannot be handled to others )
Or use Redirect The way ( Jump to the main page after login and the address bar changes , Two requests , Two ruquest object , Browser address bar changes , Application : If there is form data in the request , And data is very important , Cannot submit repeatedly , If the request is servlet Cannot process after receiving , Need to give a suggestion , This suggestion can handle this request request Where is the )
3. notes :
forward :JSP The container uses an internal method to call the target page , The new page continues to process the same request , And browsers won't know about this process .
Redirect : The first page tells the browser to send a new page request .
3. Enter... In the browser :localhost:8080/Test_Login/LoginPage
After entering login, the page jumps from the login interface to the main page , And the address bar changes
4. Store user data in a certain location ,session
Start the server , Access page
F5,network You can view the change information of the page
5. Add a button , Realize jump , View personal information
边栏推荐
- thinkphp3.2信息泄露
- 小程序滑动、点击切换简洁UI
- Basic use of JMeter to proficiency (I) creation and testing of the first task thread from installation
- asp. How to call vb DLL function in net project
- Lecture 1: stack containing min function
- sql 里面使用中文字符判断有问题,哪位遇到过?比如value<>`无`
- Pit using BigDecimal
- How does mongodb realize the creation and deletion of databases, the creation of deletion tables, and the addition, deletion, modification and query of data
- Dynamics 365online applicationuser creation method change
- ViewPager2和VIewPager的区别以及ViewPager2实现轮播图
猜你喜欢

Dynamics 365Online ApplicationUser创建方式变更

20排位赛3

H5 web player easyplayer How does JS realize live video real-time recording?

Natapp intranet penetration

字节跳动 Kitex 在森马电商场景的落地实践

Unity shader (basic concept)

视频化全链路智能上云?一文详解什么是阿里云视频云「智能媒体生产」

Deep understanding of UDP, TCP

How does mongodb realize the creation and deletion of databases, the creation of deletion tables, and the addition, deletion, modification and query of data

第一讲:寻找矩阵的极小值
随机推荐
Natapp intranet penetration
Gym - 102219j kitchen plates (violent or topological sequence)
How to become a senior digital IC Design Engineer (5-3) theory: ULP low power design technology (Part 2)
The applet realizes multi-level page switching back and forth, and supports sliding and clicking operations
Oracle安装增强功能出错
How to become a senior digital IC Design Engineer (5-2) theory: ULP low power design technology (Part 1)
C# XML的应用
企业实战|复杂业务关系下的银行业运维指标体系建设
如何成为一名高级数字 IC 设计工程师(1-6)Verilog 编码语法篇:经典数字 IC 设计
csdn涨薪技术-浅学Jmeter的几个常用的逻辑控制器使用
2020 Zhejiang Provincial Games
Impression notes finally support the default markdown preview mode
Oracle installation enhancements error
第十四次试验
【原创】程序员团队管理的核心是什么?
Gauss elimination
Qualifying 3
Unity uses mesh to realize real-time point cloud (I)
Dynamics 365online applicationuser creation method change
Database multi table Association query problem