Tuesday, April 7, 2009

4. Expression Tags

Expression tags automatically prints out what ever inside the Expression tags.Expressions become an arguments to the out.println()In other wors, Container takes everything inside the <%= and %> and puts it in as the argument to a statement that prints to the implicit response PrintWriter
Eg : When the Container sees this :
<%= TestCounter.getCount() %>

It turns it into this :
out.print(TestCount.getCount());

No comments:

Post a Comment