In the process of transmitting parameters to the front-end table one-way back-end controller, it is found that the attribute value of Pojo is the default value, or null or 0.0 on the internet, and a lot of data has been looked up on the net, and the high demand is that the PO class has no get set method, and the front JSP page contains enctype= " Multipart/form-data ", binary transfer will make Pojo bound to null, nonsense not to say to see my wrong reasons:
Look at the debug console through the HttpServletRequest obtained by the Pojo is really no parameters, it is mistaken for parameter binding is not successful, mistakenly think that the value of the front end is the default data type value.
The values inside are empty;
It is because of the configuration of JSP I have a headache;
If it is configured as above, the attribute of name is consistent with the variable name of Java class, it will be fine, OK, go home to the Sao years.