Java & J2EE Page 5 - The JSP Files (part 2): Attack Of The Killer Fortune Cookies |
If you take a close look at the last-but-one example above, you'll notice that the conditional expression
is slightly different from the ones you've been used to thus far. This is because JSP also allows you to combine multiple conditions into a single expression, with the help of an animal called a "logical operator". The following table should make this clearer. Assume delta = 12, gamma = 12 and omega = 9
So, instead of something as ugly as this you could have something as elegant as this.
blog comments powered by Disqus |