script的变量使用<bean><list:write>赋值时需加' ',如:var code ='<bean:write name="target" property="secCode"/>'