Problem description:
has the name attribute in the HTML (JSP) page, but the value printed out in the background is null.
problem solved:
really spit out blood. The member variables of the action class corresponding to the (HTML) JSP should have the same value as the name attribute of the input tag in the HTML (JSP).
my struts.xml configuration
Read More:
- Under idea struts.xml The problem of “red” in extends = “struts default”
- Under idea2020.3 struts.xml The solution of “red report” based on extensions = “struts default” in
- Struts2 is cracked, a serious loophole, a perfect solution
- JSP page cannot get value using El expression
- [Vue warn]: Error in nextTick: “TypeError: Cannot read property ‘map‘ of null“
- Servlet jump to JSP page 404 error
- Struts 2 encapsulates form data into list and map sets
- The requested page cannot be accessed because the related configuration data for the page is invalid
- SqlNullValueException: Data is Null. This method or property cannot be called on Null values.
- Android’s viewpager slides to determine whether the current stop page is the last page
- Maven project running servlet jump JSP error: HTTP status 500 – unable to compile class for JSP
- After Vue is packaged, a blank page appears, an error is reported in the resource request, and there is no error handling scheme
- The @ Autowired annotation in springboot is invalid in ordinary classes. How to solve and use the null pointer exception java.lang.nullpointerexception
- Latex sets page margin, page size, page margin and geometry macro package
- Spring security failed to log in, error: there is no passwordencoder mapped for the ID “null”
- When the spring MVC project is running on idea, an error is reported when the controller is a null pointer
- When using CSS to write the registration page, we found that the editing effect is not effective
- Uncaught TypeError: Cannot read property ‘replace’ of null
- Error:null value in entry: incrementalFolder=null