Hi Guys,
I am receiving this message when trying to compile a JSP on jBoss 5.0.0.GA:
An error occurred at line: 77 in the jsp file: /plc/layouts/sistema/PlcMenuItemLayout.jsp The operator + is undefined for the argument type(s) java.lang.Object, java.lang.Object 74: <c:when test="${fn:startsWith(item.link,'/') or fn:startsWith(item.link,'http') or fn:startsWith(item.link,'.')}"> 75: <c:set var="linkAjustado" value="${item.link}"/> 76: <c:if test="${not fn:startsWith(item.link,'http') and not fn:startsWith(item.link,'.')}"> 77: <c:set var="linkAjustado" value="${pageContext.request.contextPath}${item.link}"/> 78: </c:if> 79: <c:choose> 80: <%-- é item de menu com link e mensagem do jCompany --%>
_jspx_th_c_005fset_005f6.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false) + (java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.link}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
_jspx_th_c_005fset_005f6.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}${item.link}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
You should ask this question in the JBossAS5 forum - that is where these "hey, it worked in 4.x.x but doesn't work in 5.0" questions belong.
http://www.jboss.com/index.html?module=bb&op=viewforum&f=287