In order to use this module you must insert the following code into the file web.xml of the web application respecting the DTD:
<filter> <filter-name>multilanguage</filter-name> <filter-class>net.smartlab.web.i18n.MultilanguageFilter</filter-class> </filter> <filter-mapping> <filter-name>multilanguage</filter-name> <url-pattern>*.jsp</url-pattern> </filter-mapping>
To use the module you can also download the already predisposed file.
Moreover you must activate a plugin for Struts so that also the forward, inner to this framework, comes interpreted like multilanguage. The code that follows is made for this purpose:
If you want more informations on the module design and features please refer to the overview page.