---
title: "Struts2 的配置"
author: "Isky110"
date: "2011-11-30T22:36:00Z"
tags: []
slug: "struts2"
draft: false
lastmod: "2012-01-10T12:16:19Z"
id: 1339980
url: "https://Isky001.iteye.com/blog/1339980"
---

1、首先要在web.xml里添加Struts2的配置，配置如下：

2、然后要在Struts.xml 里添加配置，主要有国际化资源文件、编码字符集、package、Action等。