spring mvc,怎样在jsp页面上查看model中的值

2025-04-30 17:21:45
推荐回答(1个)
回答1:

你在类中是这样写的吗?
model.addAttribute("msg","传达的内容");
在jsp页面直接利用${msg}就能提取出来了。