Pessoal estou tentando rodar uma aplicação JSF com o MyFaces 1.2.0 no Glassfish e quando tento acessar a aplicação da o seguinte erro:
type Exception reportmessage
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /
index.jsp(28,4)According to TLD or attribute directive in tag file, attribute binding does not accept any expressionsnote The full stack traces of the exception and its root causes are available in the Sun Java System Application Server Platform Edition 9.0_01 logs.
abaixo o codigo do jsp:
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<f:view>
<h:form>
<h:inputText binding="#{index.nome}"></h:inputText>
<h:commandButton actionListener="#{index.teste}"></h:commandButton>
</h:form>This is my JSP page. <br>
</f:view>
</body>
</html>
se tirar o bind do input text ele da erro no actionListener, ou seja onde tenha expression language ta dando erro.
Alguem sabe o que pode ser isso?