当前位置:网站首页>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
边栏推荐
- How to become a senior digital IC Design Engineer (5-2) theory: ULP low power design technology (Part 1)
- Arthas simple instructions
- [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
- Applet popup half angle mask layer
- **Grafana installation**
- Database multi table Association query problem
- asp. How to call vb DLL function in net project
- 视频化全链路智能上云?一文详解什么是阿里云视频云「智能媒体生产」
- Loxodonframework quick start
- 4、 Fundamentals of machine learning
猜你喜欢
Detailed explanation of diffusion model
企业实战|复杂业务关系下的银行业运维指标体系建设
Octopus future star won a reward of 250000 US dollars | Octopus accelerator 2022 summer entrepreneurship camp came to a successful conclusion
沙龙预告|GameFi 领域的瓶颈和解决方案
农牧业未来发展蓝图--垂直农业+人造肉
Software modeling and analysis
EXT2 file system
Arthas simple instructions
小程序弹出半角遮罩层
Basic use of JMeter to proficiency (I) creation and testing of the first task thread from installation
随机推荐
14th test
Unity shader (learn more about vertex fragment shaders)
2016 CCPC Hangzhou Onsite
flink. CDC sqlserver. 可以再次写入sqlserver中么 有连接器的 dem
Lesson 1: finding the minimum of a matrix
Impression notes finally support the default markdown preview mode
Can't connect to MySQL server on '(10060) solution summary
使用BigDecimal的坑
20排位赛3
第一讲:寻找矩阵的极小值
Create an int type array with a length of 6. The values of the array elements are required to be between 1-30 and are assigned randomly. At the same time, the values of the required elements are diffe
IIS redirection redirection appears eurl axd
小程序实现页面多级来回切换支持滑动和点击操作
How to become a senior digital IC Design Engineer (5-2) theory: ULP low power design technology (Part 1)
CentOS installs JDK1.8 and mysql5 and 8 (the same command 58 in the second installation mode is common, opening access rights and changing passwords)
Unity uses mesh to realize real-time point cloud (II)
Loxodonframework quick start
一大波开源小抄来袭
Detailed explanation of diffusion model
Huffman encoded compressed file