Dimitry:
> And JSP.10.5.9:
> "The scope value for a variable implies what methods may affect its
> value and thus
> where synchronization is needed:
> - for NESTED, after doInitBody and doAfterBody for a tag handler
> implementing
> BodyTag, and after doStartTag otherwise.
> - for AT_BEGIN, afte
ate* comes just after
doStartTag
call.
Dimitry
--
P.S. Excuse me for my not ideal English. :(
-Original Message-
From: Jan Luehe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 4:08 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PATCH] Iteration tags do no
Dimitry:
I still believe your patch is invalid, as it would amount to
synchronizing AT_BEGIN and NESTED variables after calling
doStartTag(). However, the spec explicitly mentions that for tag
handlers implementing BodyTag, those variables must not be
synchronized after doStartTag(), *only* after
2nd attempt.
Tested with Tomcat 4.1.18.
-Original Message-
From: Dimitry Ivanov [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 5:48 AM
To: 'Jan Luehe'
Cc: 'Tomcat Developers List'
Subject: RE: [PATCH] Iteration tags do not synchronize scripting
variab
s List'
Subject: RE: [PATCH] Iteration tags do not synchronize scripting
variables after doStartTag
Jan,
Two quotes from JSP.10.2.2 ("BodyTag") in JSP 1.2 spec.
Quote 1 (on page 177 second paragraph):
"If EVAL_BODY_INCLUDE is returned, then evaluation happens as in
Iteration-
Jan,
Two quotes from JSP.10.2.2 ("BodyTag") in JSP 1.2 spec.
Quote 1 (on page 177 second paragraph):
"If EVAL_BODY_INCLUDE is returned, then evaluation happens as in
Iteration-
Tag."
Quote 2 (on page 178, last paragraph):
"If EVAL_BODY_INCLUDE is returned, setBodyContent() is not invoked,
doIn
> Dimitry,
>
> > In jasper2, I have found one interesting bug. It hapens when tag
> > implements BodyTag interface and doStartTag returns EVAL_BODY_INCLUDE.
> >
> > See test-case and patch attached. The patch tested under Tomcat 4.1.18.
>
> the current synchronization behaviour your are seeing
Dimitry,
> In jasper2, I have found one interesting bug. It hapens when tag
> implements BodyTag interface and doStartTag returns EVAL_BODY_INCLUDE.
>
> See test-case and patch attached. The patch tested under Tomcat 4.1.18.
the current synchronization behaviour your are seeing is compliant
wit
] Iteration tags do not synchronize scripting variables
after doStartTag
Hello,
In jasper2, I have found one interesting bug. It hapens when tag
implements
BodyTag interface and doStartTag returns EVAL_BODY_INCLUDE.
See test-case and patch attached. The patch tested under Tomcat
4.1.18.
WBR
Title: Сообщение
Hello,
In jasper2, I
have found one interesting bug. It hapens when tag implements
BodyTag
interface and doStartTag returns EVAL_BODY_INCLUDE.
See test-case
and patch attached. The patch tested under Tomcat
4.1.18.
WBR,
Dimitry
Ivanov
taglib-test-case.war
Desc
10 matches
Mail list logo