I am developing a jsp web application, no framework (sadly...), that will be used for differents customers. Each customer have their own set of colors and company logos.
The css layout will not change, only some divs colors, font colors, button colors, so and so.
I trying solve this problem implementing a filter that receive a general request and then redirect the request to correct folder depending on the customer.
By example, the index.jsp request css/index.css, then filter verify the customer and then change the request to 'customer1_css/index.css'. This works fine, by now...
But, when I need to add or modify some css element, I have to do it in each css file of each customer.
I want to simplify this process for us and the web designer. So, I though in using FreeMarker, parametrizing all dynamics elements, and make a db table where I put each parameter value. But is very cumbersome.
I know that I am not the first developer with this problem.
Please, give me some ideas for solve this.
Thanks in advance!!!