<%@ page language="java" c
pageEncoding="windows-31j"% >
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="WEB-INF/jsf_core.tld" prefix="f" %>
<%@ taglib uri="WEB-INF/html_basic.tld" prefix="h" %>
<f:view>
<html>
<head>
<title>
JSF in Action - Helllo,world!
</title>
</head>
<body>
<h:form id="goodbyeForm">
<p>
<h
utputText id="welcomeOutput" value="Goodbye!"
style="font-family:Arial, sans-serif;font-size:24;
font-style:bold;color:green;"/>
</p>
<p>
<h
utputText id="helloVeanOutputLabel"
value="Number of controls displayed;"/>
<h
utputText id="helloBeanOutput"
value="#{helloBean.numControls}"/>
</p>
</h:form>
</body>
</html>>
</f:view>
这是里面的value="#{helloBean.numControls}"这句总是有黄线,提示说是helloBean cannot be resolved.如何能让helloBean 别识别呢????帮帮忙吧各位,郁闷一天了