In my web.xml I set context param "pathToImages". In my jsp files to get path to my images files I use EL, like this:
> setInnerHTML("somePlace", "<.img src='images/s.gif'>");
I know this isn't beautiful code but it isn't mine :) I cannot get my pathToImages in the same way like from jsp. What is the best way to do this?