The dopost method cannot be executed, but the doget method can be executed
<form action="/experiment03/LoginServlet" method="POST">
The method that has been written before uses post, and the rewritten dopost method is still not called.
solved! !
** There are two problems
- The location of my directory login.html is wrong, it should be released
- My action is correct, that is, the location of login.html is wrong and the redirection page fails
**