1. code Example 1
cause of error:? Useunicode=true&characterencoding=utxf8
Error Correction: One of them? It's Chinese.
2. code Example 2
reason for error correction: Database not open
Error Correction: My Computer --"right button--" management--"service and application--" Service---"Find MySQL
3. code example 3
cause of Error Correction: Project start exception Web_xml in Url_pattern the configuration does not have a slash/
Error correction: Add the slash
4. code Example 4
reason for error correction: classpath error src path to Java class and Servlet-class path inconsistency in Web. xml
Error Correction: path consistency
5. code Example 5
reason for error correction: Access Path Errors Inconsistent Url-patern path in access path and Web. xml
Error correction: Two paths remain consistent
6. code example 6
reason for error correction: missing a jstl jar package in 7.0
error Correction: put in In the Lib folder under Tomcat
7. code example 7
Error correction reason: Database connection failed, indicating database connection configuration error,URL configuration error
Error Correction: Change to the correct URL
8. code example 8
Reason for error correction: Data path password or account error
Error correction: Write passwords and accounts correctly
9. code Example 9
Error correction Reason: Data format exception, indicating that the object into the data when the exception, usually appear in In the Integer.parseint (object) method
10. code example 10
Error correction Reason: Garbled problem, garbled problem, when the data is stored in the database is garbled, the processing in the back to the entrance data is garbled, then need to be processed at the top of the coding method request.setcharacterencoding (" UTF-8 "); Note that the servlet adds
Error problems in Java Primary development