I have a templating system which uses servlets to load images. That way, if an image does not exists inside the current theme/template, the servlet loads a default one.
I am looking for a way to do it without the need of a servlet. So the question is if it would be possible to do something like what was answered here.