First, a resource file must be established. Place it under Web-INF / CLASSES, named **_ zh_cn.properties, configure struts-config.xml. Add configuration: Third, using the FMT tab on the JSP page, bind the resource file: Fourth, specify titleKey in displaytag, for example: can display (note coding, otherwise there will be garbled, resources File encoding should be the same as JSP page encoding)