1.获取URL路径参数:
http://localhost:8080/demo/index.jsp?flag=kkkk
<s:property value="#parameters.flag" />
2.JS获取<s:property>的值
var stype='<s:property value="#parameters.flag" /> ';