Q:

How do I load css files for different locales in jsp?

I would like to load different css files for different locals.  For example, if the current locale is English, then I want to load "main.css" file. However, if the current locale is Russian then I want to load "main_ru.css" file.
How do I do it in jsp?

A:

<link rel="stylesheet" type="text/css" href="main_${theCurrentLocale}.css">

And it's of course up to you to store the current locale in the theCurrentLocale request or session attribute.

