struts action

  1. does not contain handler parameter named 'method'.   This may be caused by whitespace in the label text   
  2.   
  3. 这个异常往往是大家对DispatchAction 不熟悉造成,在用它的时候别忘记了在STRUTS-CONFIG中的<action>属性加parameter="method",还有<html:form>和普通的<form>是有区别的,在用form提交表单的时候别忘记要家范围method="post",不然也会有错,还有在action.do?method=XXXX这个中间不要有空格! 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章