> > That's a smart solution, thanks. I hadn't come up with that
> > one yet. I'd have to check whether I'm using JSP expressions
> > anywhere. I do not understand, however, why usage of JSP
> > expressions is something you shouldn't rely on.
>
> The JSP2 specs clearly discourage their usage, in favour of the
> alternatives it introduces (EL expressions, custom tags/functions, JSP
> fragments). Consider them deprecated under JSP2.
Ah, in that sense. I agree with that. However, plain old Java variables
you define in a page are unreachable for the EL. The following will not
produce any output (although you might argue that one should store
variable 'a' inside the page context or somewhere else):
<% String a = "qwerty"; %>
${a}
Regards,
Ronald Wildenberg