目前,我们正在使用Struts1,我们希望在传入的项目中使用struts2(convention+annotation)。
关于struts2中的消息资源,我遇到了问题,我们使用了一个自定义MessageResourceFactory,它是在struts-config.xml中配置的
<message-resource factory="" param="">我们在<bean:message>中使用struts1标记来调用消息。
我在struts2里找不到好的方法
有什么建议吗?
发布于 2013-07-29 13:57:09
没关系,我最后从Struts2中重写了Struts2,在struts.xml中为它定义了一个bean,并将它设置为应该使用的TextProvider。
https://stackoverflow.com/questions/17832785
复制相似问题