jsp頁面中:document.getElementById('verifyCodeImg').src='<%=path%>/common/action/CommonAction/generateRandomCode.action
在struts2中該action對應的namespace爲/common
jsp頁面中:document.getElementById('verifyCodeImg').src='<%=path%>/common/action/CommonAction/generateRandomCode.action
在struts2中該action對應的namespace爲/common
(1)struts2的輸入驗證 —基於Xwork Validation Framework的聲明式驗證,需要聲明的內容包括 ~~對哪個Action或Model的哪個字段進行驗證; ~~使用什麼