---
title: "Struts在tomcat下的尝试"
author: "voff12"
date: "2007-01-20T20:53:55Z"
tags: []
slug: "struts-tomcat"
draft: false
lastmod: "2007-01-20T20:53:55Z"
id: 48831
url: "https://voff12.iteye.com/blog/48831"
---

struts是典型的MVC模式。不知这种模式的优势在那里？
今天来学习一下。

三个配置文件。
web.xml
struts-config.xml
validation.xml

二个类文件

LoginForm.java
LoginAction.java

一个消息资源文件
*.ApplicationResources_zh.properties

一个login.jsp界面