The EL expression
returns a
, not a
.
This is a problem for me, because I want to prepend each 'src' attribute of my image tags with the application context path, i.e.
<img src="${pageContext.request.contextPath}/images/myimage.gif" />
There is no getContextPath() in
!
Is there a way around this without some ugly hack like placing the context path as a context init param, so it's accessible through EL like:
:roll: