在jsp与action交互的时候,action中有属性的getter(),setter()方法。 设置全局变量,传到jsp时候,有拦截器进行拦截验证。<s:property value="">即可获得该值。