Details
-
Bug
-
Resolution: Answered
-
Medium
-
None
-
2.6.1 Pro, 2.6.1 Enterprise
-
None
-
BEA Weblogic 8.1
-
2.06
-
Description
We are getting serveral errors by precompiling the jsp pages for BEA Weblogic 8.1:
Error: [jspc]: 6 file(s) failed:
/includes/decorators/helplink.jsp
/includes/js/history.jsp
/includes/js/savedfilters.jsp
/includes/decorators/headerpopups.jsp
/includes/decorators/bodytop.jsp
/includes/dashboard/projects.jsp
Exception in thread "main" Errors encountered while compiling 'weblogic' :
Translation of /includes/dashboard/projects.jsp failed: (line 11): no corresponding open tag for tag extension close: </webwork:property> //[ null; Line:11]
For more information see jira mailing list.
BEA support investigated the problem and found out:
- f.e. projects.jsp is causing the error in the lines 10, 19 und 33.
- the included JSPs define the webwork taglib <%@ taglib uri="webwork" prefix="webwork" %> AGAIN ! This is the problem:
The pseudo code looks like this:
<%@ taglib uri="webwork" prefix="webwork" %>
<webwork:property value="/projectManager/projectCategory(property('projectcategoryid'))">
// double taglib declaration in the include:
<%@ taglib uri="webwork" prefix="webwork" %>
<webwork:iterator value="browseableProjectsInCategory(.)">
<jsp:include page="/includes/dashboard/project.jsp"/>
</webwork:iterator>
</webwork:property>
- According to JSP Spec. 2.10.2: "It is a fatal translation error for the taglib directive to appear after actions using the prefix."
==>
- to allow compiling you have to correct all static included JSPs (noprojects.jsp, categorisedprojects.jsp, ...) and you have to remove the redeclaration (<%@ taglib uri="webwork" prefix="webwork" %>)
Attachments
Issue Links
- relates to
-
JRASERVER-2347 jspc fails for include files in weblogic 8.1
- Closed