<bean:write>用法

1、<bean:write>是什麼 <bean:write>是struts標籤中bean中的一種,<bean:write name=「key」>相當於<%=request.getAttribute(「key」)%>,但二者再解析屬性值時略有差異,<bean:write>默認會屏蔽到屬性值的html格式,<%=request.getAttribute(「key」)%>會解析屬性值的html格式。 2
相關文章
相關標籤/搜索