---
title: "Struts错误整理 "
author: "angeldhp"
date: "2007-05-25T11:37:57Z"
tags: ["Servlet", "Struts"]
slug: "struts"
draft: false
lastmod: "2007-05-25T11:37:57Z"
id: 82957
url: "https://angeldhp.iteye.com/blog/82957"
---

错误 ：javax.servlet.ServletException: [DispatchMapping\[/configaction\] does not define a handler property]()

 [原因： action参数配置不全  
解决方法：在 config文件中 添加 parameter="method"等  
\
错误： 表单数据验证失败时发生错误，“No input attribute for mapping path”  
\
原因：action中表单验证 validate="true" ，如果validate()返回非空的ActionErrors，将会被转到input属性指定的URI，而action中未指定input时会报此错  
解决方法：添加 input="url" 或者 validate="false"]()