---
title: "Struts错误整理"
author: "abeetle"
date: "2007-05-16T14:27:00Z"
tags: []
slug: "struts"
draft: false
lastmod: "2007-05-16T14:27:00Z"
id: 233864
url: "https://abeetle.iteye.com/blog/233864"
---

错误 ：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"]()

[]()