hashmap中保存的是string,object,object是一个用户的实体类,所以只需要取value.name即可
<s:iterator value="#request.useronline" id="map">
<button type="button" class="btn btn-default btn-sm" >
<span class="glyphicon glyphicon-user" style="color:#9ACD32;"></span><s:property value="value.name"/>
</button>
</s:iterator>