Skip to main content

JSF - PWC6317: The attributes for ... cannot be deferred expressions

No replies
leethao
Offline
Joined: 2007-09-05

org.apache.jasper.JasperException: /welcome.jsp(19,53) PWC6317: The attributes for a standard action or an uninterpreted tag cannot be deferred expressions

The above error occurs against this statement (the first instance of #{...} ) at line, space (19,53) when the jsp file is formatted with:

<?xml version="1.0" ?>

...

If I use the following format, all is well:

<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>

...

I am sure I am missing something trivial/fundamental. I am going through the book CoreJSF 2nd Ed where it is suggested to use the first(xml) format. I would like to but it does not work, I would like to know why. Thanks.