Internationalization for Java Web Applications.

web.xml

It's quite easy to start using I18n. You just need to copy the following lines on your web.xml
<listener>
    <listener-class>net.vidageek.i18n.el.I18nContextListener</listener-class>
</listener>

<filter>
    <filter-name>i18n</filter-name>
    <filter-class>net.vidageek.i18n.filter.I18nFilter</filter-class>
</filter>

<filter-mapping>
    <filter-name>i18n</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>
That's it.