0

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?

Roman C
  • 49,761
  • 33
  • 66
  • 176
raito
  • 1
  • 4

1 Answers1

-1

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.

Roman C
  • 49,761
  • 33
  • 66
  • 176
raito
  • 1
  • 4