Property [goodsname] not found on type [pojo.GoodsModel]

Error getting attributes from EL

Insert picture description here
Insert picture description here
problem lies in

Property [goodsname] not found on type [pojo.GoodsModel]

Insert picture description here
Insert picture description here
The goods attribute obtained in the jsp page is goodsname, and the name written in the pojo model class does not match. You can adjust one at will, but pay attention to the set and get methods when changing the pojo class.

Guess you like

Origin blog.csdn.net/qq_41827511/article/details/113838745