Struts拦截器设置完的值为什么在页面取不到

Struts拦截器设置完的值为什么在页面取不到。

ActionContext ac = (ActionContext) invocation.getInvocationContext();

ac.put("msg", "对不起,你无权操作");

在页面使用<s:property value="msg"/>获得<s:property value="#msg"/>都获得不了值

原文地址:https://www.cnblogs.com/oymx/p/4105064.html