May 2004
Beginner to intermediate
1032 pages
23h 48m
English
Cooperating tags are those that share information in some way. JSP information can be shared using the following mechanisms:
Shared variables
Hierarchical (or nested) tags
One way wayway of writing cooperating tags is to use EL or scripting variables to pass information between the tags. As previously discussed a tag can create a variable that can be retrieved by an another tag on the current page. Depending on the scope of the variable, it can be passed on to other pages in the same request or to pages in subsequent requests. Variables defined by custom tags have the same scoping rules as other variables defined on the page. Using variables are a very flexible means of passing information between tags. ...
Read now
Unlock full access