On Wed, 21 Oct 2009 04:12:49 -0700 (PDT), ck
<chandankumar.r@gmail.com> wrote, quoted or indirectly quoted someone
who said :
Tag libraries are Java classes(most of the time), so whatever you pass
to the tag, it would result in method invocation. Which implies it
would be parsed at the time of page load and not "ahead" of time.
You can confirm that by looking at the source of a compiled JSP that
invokes tag library.
As I see it there are two times parsing could potentially happen.
1.the first time a *.jsp is accessed, it is parsed, converted to Java,
compiled and loaded.
2. every time a client accesses that page.
I referred to (1) as "ahead of time" since it is sooner that SSI would
parse, and sooner than (2).
The evaluation of the tag happens at (2), but the parsing/discovery of
tags, especially in included material, I suspect only happens at (1).
components and logic at various phases. It distinguishes between initial
access and postback.
validation, retrieval, business logic, display or whatever at various times.
solution.