----- Original Message ----- From: "Torsten Fohrer" <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Wednesday, August 13, 2003 9:32 PM Subject: Re: [Q] Different handling tagfiles and normal tags classes
> > What about a seperate TAGFILE_SCOPE? Not something that is under Tomcat's control. You'd need to suggest it to [EMAIL PROTECTED] > > Best greeting > Torsten Fohrer > > On Wednesday 13 August 2003 22:02, you wrote: > > Torsten, > > > > see JSP.8.3 ("Semantics of Tag Files"), 3rd bullet: > > > > For each invocation to the tag, the JSP Context Wrapper must present a > > clean page scope containing no initial elements. All scopes other than > > the page scope must be identical to those in the Invoking JSP Context > > and must be modified accordingly when updates are made to those scopes > > in the JSP Context Wrapper. Any modifications to the page scope, > > however, must not affect the Invoking JSP Context. > > > > Hope this helps. > > > > Jan > > > > Torsten Fohrer wrote: > > > 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] > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]