got a 404 error when I was running the login interface. At the beginning, I thought it was a database error (because there was no database information printed in the background), so I made crazy mistakes for the database. Generally, a large probability of database error is a statement error, so be careful!
and then the database frame package has a problem (of course, is a very small probability)
carefully compared to find that the database driver has, the database statement is also right, but I wrote the redirection is clearly main.jsp, but he kept skipping main.html.
Then Baidu 404 error reason for the path error, but the path configuration did not find the problem.
Finally, the boss corrected my mistake and found that the click event written on the submit button was: &western nclick = “javascript: window. Location = ‘main. HTML'”, and to have written form form the from, if the words in the wrong circumstances in the submit written &western nclick = “javascript: window. Location = ‘main. HTML'” will perform, form the action in the form will not work, it is only by priority or load sequence, thus can jump in the main. All the time only HTML web page,
and finally the successful login screen.
to review the web. By the way in the XML configuration file:
https://www.cnblogs.com/xxoome/p/5954633.html get ✔
On September 6, another 404 error
was also found after a series of comparison in the database
The big guy’s solution is to clean the project. For efficiency, Eclipse doesn’t check the plug-in every time you start the project. Clean forces Eclipse to check the installed plug-in. We all know that.Java files are run by compiling to.class files, and clean deletes the compiled and generated.class files and redeploys the project.
because the previously incorrect class file is always in the project, the execution is always wrong
Read More:
- After compiling. Java, the following appears: Note:checkUser.java uses unchecked or unsafe operations.Note :Recompile with -Xlint :unchecked for details.
- On the use of cnzz statistics advertising research note
- Http Error 12057 (Bug Fix Note)
- How to Root the Samsung Galaxy Note 2 (GT-N7100)
- Red rice note3 (Kenzo) is brushed into lineage OS
- R note for Bioinfo: the column for the select call is undefined
- Please note that the module “sacrableu” has no “compute blue” attribute
- Error parsing HTTP request header Note: further occurrences of HTTP header p
- kafka-eagle-2.0.3:Note: Kafka version is – or JMX Port is -1 maybe kafka broker jmxport disable.
- Springboot project: error parsing HTTP request header note: further occurrences of HTTP request parsing
- Jdk11, using JavaFX in eclipse
- After eclipse eclipse eclipse imports the correct project, an error is reported in XML and other files
- Vs2019 + QT parses the XML file and reports an error at doc.setcontent (& file)
- Possible causes and solutions of 404 problems in accessing servlet pages
- How to use matlab xlswrite
- Eclipse:An error has occurred. See error log for more details. java.lang.NullPointerException
- JS error: permission denied to access property ‘document’— document.domain -The same source strategy of JavaScript
- Recipe for target’Project 1.exe’ failed Cause analysis and solution
- @How to solve eclipse error after setter and @ getter (@ data) annotation
- This application has no explicit mapping for /error, so you are seeing this as a fallback (How to Fix)