当前位置:网站首页>The database connection code determines whether the account password is correct, but the correct account password always jumps to the failure page with wrong account password
The database connection code determines whether the account password is correct, but the correct account password always jumps to the failure page with wrong account password
2022-07-04 12:22:00 【CSDN Q & A】
- use sql Statement to the database input everything is normal
- tomcat The deployment is also normal , The only problem is that the input form is wrong , No matter what you enter, the business layer account password is wrong
Take the answer :
url There is a mistake here
What you're writing is :String url="jdbc:mysgL;//Localhost:3306/atm"
The right one is :String url="jdbc:mysql://localhost:3306/atm"
If there is a garbled code problem, write it as :"jdbc:mysql://localhost:3306/atm?UseUnicode=true&CharacterEncoding=true"
边栏推荐
- Iframe to only show a certain part of the page
- Azure solution: how can third-party tools call azure blob storage to store data?
- Global function Encyclopedia
- Haproxy cluster
- QQ get group settings
- Simple understanding of seesion, cookies, tokens
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 23
- C language compilation process
- Supercomputing simulation research has determined a safe and effective carbon capture and storage route
- Test question bank management system - database design [easy to understand]
猜你喜欢
The latest idea activation cracking tutorial, idea permanent activation code, the strongest in history
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 12
Experiment 7. IPv6
Properties and methods of OS Library
Simple understanding of seesion, cookies, tokens
Application of slice
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 23
OSI seven layer reference model
netstat
Games101 Lesson 8 shading 2 Notes
随机推荐
netstat
Reptile learning 3 (winter vacation learning)
In 2022, financial products are not guaranteed?
. Does net 4 have a built-in JSON serializer / deserializer- Does . NET 4 have a built-in JSON serializer/deserializer?
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 7
Possible to restore a backup of SQL Server 2014 on SQL Server 2012?
MPLS experiment
How to disable debug messages on sockjs stomp - how to disable debug messages on sockjs Stomp
Realize cross tenant Vnet connection through azure virtual Wan
Configure SSH key to realize login free
Lecture 9
How to create a new virtual machine
Test question bank management system - database design [easy to understand]
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 8
03_ Armv8 instruction set introduction load and store instructions
Local MySQL forget password modification method (Windows) [easy to understand]
Application of slice
Haproxy cluster
Openssl3.0 learning 20 provider KDF
PKCs 5: password based cryptography specification version 2.1 Chinese Translation