---
title: "Struts2 国际化"
author: "sd8089730"
date: "2012-08-24T16:42:06Z"
tags: []
categories: ["Web前端"]
slug: "struts2"
draft: false
lastmod: "2012-08-24T16:42:06Z"
id: 1661997
url: "https://sd8089730.iteye.com/blog/1661997"
---

&lt;constant name="struts.custom.i18n.resources" value="resource/messages"&gt;&lt;/constant&gt;

 

resource包下  messages\_en.properties ，messages\_zh.properties

 

 

页面 &lt;s:test name="index.title"/&gt;