SpringMVC数据回显

springMVC回显:
pojo形参:
√形参自动回显
√形参使用ModelAttribute
√形参直接使用Model、request

简单类型形参:
不能自动回显、不能使用ModelAttribute
√使用Model、request

方法
√使用ModelAttribute,将方法返回值进行回显

猜你喜欢

转载自www.cnblogs.com/thaipine/p/11609466.html