Tagfiles and tags get a jspcontext from the container at runtime. 
Tags get directly a normal pagecontext reference from the current jsp page. 
TagFiles instead get a wrapper around the pagecontext that wraps all 
set/get/findAttribute for the page scope to a local set of stored
attributes. 
When i declare an attribute in jsp with page scope, i never see it in a tag
file, but i see it in a 'normal' tag.

Interesting files: 
  org.apache.jasper.runtime.JspContextWrapper -> see
getAttribute(String)/getAttribute(String/int)
  org.apache.jasper.compiler.Generator -> search for setJspContext

Is there a reason why, i don't know? 

Best greeting 
 Torsten Fohrer

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to