Problem Description1. After the page has been modified, after the submission of the page 400 error, but the background does not output any error message. 2. The debug listener should also have no response to the corresponding submit link on the page (not in the Controller method in the background). 3. Refresh the submit link in the browser to enter the background method (debug can be heard)
Workaround:1. Through 3rd of the question, it is clear that the contents of the page must be the result of an argument that cannot be submitted. 2. But it's also very difficult to get through the page, and I can't see anything unusual for 20 minutes. 3. Read some articles received inspiration, want to try to see a more detailed log by lowering the log level.
<root> <level value= "Debug"/> <appender-ref ref= "CONSOLE"/> <appender-ref ref= " LogFile "/> </root>
4. The problem was found because of a type mismatch in the processing of the object parameters by spring.
Shriekingtime is a date in parameter train, but the page is an irregular date type "00:00"
@RequestMapping ("/addferrytrain") public String Addferrytrain (Train Train, httpservletrequest request)
Summary:This question itself is not too big problem, but by lowering the level of spring log to troubleshoot the problem of the idea is very good, in the future projects can also be used for reference.
Spring Troubleshooting-lower log levels