This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
I've Googled, searched the forums, etc, but I could not find the answer to this simple question. 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? Thanks, Erik Pragt