This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
See I've just started working with JSP 2.0. In JSP 1.2 is usualled used contants (or macro names) like this to retreive my session variables:

Now would like to do the same thing in JSP 2.0, but I was wondering if it's possible?
Consider the following example:

This doesn't look to nice, does it? I could rewrite it to:

But now it doesn't use macro's anymore, and making typing errors, like writing command with a captial C, could mess up my whole application without knowing about it.
My question is: is there a nice solution to this issue?
Erik Pragt
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!