You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2021/06/30 21:03:47 UTC
[Bug 65414] New: Problem compiling JSP using multiple taglib
https://bz.apache.org/bugzilla/show_bug.cgi?id=65414
Bug ID: 65414
Summary: Problem compiling JSP using multiple taglib
Product: Tomcat 9
Version: 9.0.48
Hardware: PC
Status: NEW
Severity: critical
Priority: P2
Component: Jasper
Assignee: dev@tomcat.apache.org
Reporter: janpier.santos@softwell.com.br
Target Milestone: -----
Created attachment 37925
--> https://bz.apache.org/bugzilla/attachment.cgi?id=37925&action=edit
File on 9.0.48
This problem does not occur using version 9.0.46, only with the update of
apache tomcat the compilation error starts to occur.
Below is an excerpt of the JSP code that has a compilation error:
<c:forEach items="${pageScope.systems}" var="wfre" varStatus="loop">
<c:url value="/admincore" var="wfreRemoveFile">
<c:param name="action" value="wfreRemoveFile"/>
<c:param name="sys"><c:out
value="${wfre.code}"/></c:param>
</c:url>
<webrun:message var="confirm_remove"
key="INFO.CONFIRM_REMOVE_SYSTEM" js="true">
<webrun:messageParam>${wfre.jsName}</webrun:messageParam>
</webrun:message>
</c:forEach>
When compiling the JSP file in version 9.0.46 the .java output file has the
following instruction for invoke2:
public boolean invoke2( javax.servlet.jsp.JspWriter out )
throws java.lang.Throwable
{
out.write("\n");
out.write(" ");
if (_jspx_meth_webrun_005fmessageParam_005f1(_jspx_parent,
_jspx_page_context, _jspx_push_body_count))
return true;
out.write("\n");
out.write(" ");
return false;
}
The same JSP in version 9.0.48 the .java output file has the following
instruction for invoke2:
public boolean invoke2( javax.servlet.jsp.JspWriter out )
throws java.lang.Throwable
{
out.write("\n");
out.write(" ");
if (_jspx_meth_webrun_005fmessageParam_005f1(_jspx_parent,
_jspx_page_context, _jspx_push_body_count_c_005fforEach_005f0))
return true;
out.write("\n");
out.write(" ");
return false;
}
Note that in version 9.0.46 the variable has the name _jspx_push_body_count and
in 9.0.48 this name becomes _jspx_push_body_count_c_005fforEach_005f0, as this
variable does not exist, the compilation error is displayed.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 65414] Problem compiling JSP using multiple taglib
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65414
--- Comment #3 from Konstantin Kolinko <kn...@gmail.com> ---
(In reply to Janpier from comment #2)
> I didn't find the link, could you send it?
https://tomcat.apache.org/lists.html#tomcat-dev
https://tomcat.markmail.org/thread/jaq2m2s4okd3u2zx
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 65414] Problem compiling JSP using multiple taglib
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65414
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|NEW |RESOLVED
--- Comment #4 from Mark Thomas <ma...@apache.org> ---
*** This bug has been marked as a duplicate of bug 65390 ***
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 65414] Problem compiling JSP using multiple taglib
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65414
--- Comment #2 from Janpier <ja...@softwell.com.br> ---
(In reply to Konstantin Kolinko from comment #1)
> Please retest with release candidate binaries for Tomcat 9.0.50.
> See a "[VOTE]" thread on the dev mailing list for links.
>
> (Or provide a simple sample web application so that anybody else could test
> it for you.)
I didn't find the link, could you send it?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 65414] Problem compiling JSP using multiple taglib
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65414
Konstantin Kolinko <kn...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> ---
Please retest with release candidate binaries for Tomcat 9.0.50.
See a "[VOTE]" thread on the dev mailing list for links.
(Or provide a simple sample web application so that anybody else could test it
for you.)
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org