当前位置:网站首页>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
边栏推荐
- The industrial chain of consumer Internet is actually very short. It only undertakes the role of docking and matchmaking between upstream and downstream platforms
- JS judge whether checkbox is selected in the project
- 第一讲:包含min函数的栈
- Loxodonframework quick start
- Gym - 102219J Kitchen Plates(暴力或拓扑序列)
- Unity shader (data type in cghlsl)
- NETCORE 3.1 solves cross domain problems
- Use 3 in data modeling σ Eliminate outliers for data cleaning
- Application of C # XML
- Elaborate on MySQL mvcc multi version control
猜你喜欢
随机推荐
印象笔记终于支持默认markdown预览模式
企业实战|复杂业务关系下的银行业运维指标体系建设
小程序实现页面多级来回切换支持滑动和点击操作
Lesson 1: hardness of eggs
MySQL can connect locally through localhost or 127, but cannot connect through intranet IP (for example, Navicat connection reports an error of 1045 access denied for use...)
NETCORE 3.1 solves cross domain problems
大佬们,请问 MySQL-CDC 有什么办法将 upsert 消息转换为 append only 消
创建一个长度为6的int型数组,要求数组元素的值都在1-30之间,且是随机赋值。同时,要求元素的值各不相同。
Vs2013 generate solutions super slow solutions
C socke server, client, UDP
Lecture 1: stack containing min function
Strategic cooperation subquery becomes the secret weapon of Octopus web browser
Diffusion模型详解
大佬们,有没有遇到过flink cdc读MySQLbinlog丢数据的情况,每次任务重启就有概率丢数
How to become a senior digital IC Design Engineer (5-3) theory: ULP low power design technology (Part 2)
20排位赛3
Applet popup half angle mask layer
Unity shader (basic concept)
[4g/5g/6g topic foundation -147]: Interpretation of the white paper on 6G's overall vision and potential key technologies -2-6g's macro driving force for development
【BW16 应用篇】安信可BW16模组/开发板AT指令实现MQTT通讯