Never mind I ended up, overwriting the defaultTextProvider from Struts2 , define a bean for it in struts.xml and also set it as TextProvider that should be used.
struts1 to struts2 migration message resource
문제
Currently we are using Struts1 and we want to use struts2(convention+annotation) for incoming projects.
I'm having a problem with struts2 regarding message resource
in Struts1 we use a custom MessageResourceFactory
which configured in struts-config.xml
<message-resource factory="" param="">
we used <bean:message>
tags in struts1 to call the messages.
I can't find a good way to do it in struts2
any recommendation?
해결책
제휴하지 않습니다 StackOverflow