It depends on the particular taglib... The taglib's processing methods (doInitBody(), doStartTag(), doEndTag(), doAfterBody(), etc) return ints (EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE, etc) to indicate what should be processed next.
It is possible that your taglib's doEndTag() method is returning a value that would make it evaluate again. --- Pavel Brun <[EMAIL PROTECTED]> wrote: > can anybody verify if JSP taglib code goes through twice? > Anybody...all I > need > is an answer. I have been trying to find out this information through > three > different topic posts, but no answers to date. Is it by design that > JSP > taglib > code is processed twice??? > > Thanks > > Paul > > -----Original Message----- > From: Pavel Brun [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 24, 2002 10:45 AM > To: Tomcat Users List; [EMAIL PROTECTED] > Subject: RE: JSP Taglib Explanation please > > > so, for example, if you have a taglib like: > > <xtags:transform xml="..." xsl="..."/> > > this line would run all the code associated with the tag "twice"??? > > That is what I am getting...is this by design?? > > Paul > > -----Original Message----- > From: Brian Adams [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 24, 2002 10:31 AM > To: Tomcat Users List > Subject: RE: JSP Taglib Explanation please > > > Pavel I have tons of taglibs on my app and it does not go through it > twice. > it actually runs the code twice? > > > -----Original Message----- > From: Pavel Brun [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 24, 2002 9:21 AM > To: Tomcat User > Subject: JSP Taglib Explanation please > > > Hello everyone, > > Is there anyone here that helped develop the JSP Tag concept > that could explain why JSP taglib bodies go through their > bodies twice (going through doStartTag, doAfterBody and doEndTag > twice)? > > This would be extremely helpful for me so I can understand > how to proceed with certain applications. > > Thank you > > Paul > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
