alert("<s:property value='user.type'/>");
//默认初始值
$("#department").attr("value","<s:property value='user.type'/>");
这样两种输出形式 为什么 前一种是乱码 后面一种就是中文呢?
在struts2的值栈中取的值