---
title: "Struts MappingDispatchAction自动请求分发"
author: "namezhou"
date: "2010-07-28T21:58:42Z"
tags: ["Struts", "XML"]
categories: ["企业架构"]
slug: "struts-mappingdispatchaction"
draft: false
lastmod: "2010-07-28T21:58:42Z"
id: 723779
url: "https://namezhou.iteye.com/blog/723779"
---

1.表单的配置=不需要配置  
2.struts-config.xml 的配置  
parameter="login"  
设置好方法名  
3.Action类,继承MappingDispatchAction类,不实现execute方法,实现parameter里定义好的方法