xx.jsp(xx,xx) According to TLD, tag bean:write must be empty, but is not
Posted on 2011-04-16 02:20 IceWee 閱讀(442) 評論(0) 編輯 收藏 所屬分類: Strut1記得這個錯誤已經(jīng)遇到第二次了,一打眼就知道怎么回事了,不過還是要記下,給自己長長記性。
<bean:write name="user" property="name">
<bean:write name="user" property="name" />
原因是 使用了struts的標(biāo)簽沒有閉合標(biāo)簽。
例:
異常(錯誤)寫法:

正確寫法:
