fixed bug in code using <c:url> and improved display