tapestry5中表單提交問題
org.apache.tapestry5.runtime.ComponentEventExceptionForms require that the request method be POST and that the t:formdata query parameter have values.
提交表單form就會(huì)出現(xiàn)這個(gè)問題,
<t:form >
<t:submit t:id="login" value="提交" />
</t:form>
用火狐沒問題,ie出現(xiàn)的概率就很大,我試著捕獲這個(gè)異常,頁面雖不至于馬上報(bào)錯(cuò),但刷新就會(huì)出現(xiàn),會(huì)在原來的路徑后加上一個(gè).form也即是form id。
希望大蝦們幫忙解決,困擾我很久了.