Z
zalek
I am learning about JSF from the site http://exadel.com/tutorial/jsf/jsftutorial-kickstart.html
There is an example of JSP program:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:loadBundle basename="jsfks.bundle.messages" var="msg"/>
<html>
<head>
<title>enter your name page</title>
</head>
<body>
<f:view>
<h1>
<hutputText value="#{msg.inputname_header}"/>
</h1>
<h:form id="helloForm">
<hutputText value="#{msg.prompt}"/>
<h:inputText value="#{personBean.personName}" />
<h:commandButton action="greeting" value="#{msg.button_text}" />
</h:form>
</f:view>
</body>
</html>
When I try to run it I am getting:
exception
org.apache.jasper.JasperException: This absolute uri (http://
java.sun.com/jsf/html) cannot be resolved in either web.xml or the jar
files deployed with this application
I checked web.xml - there is no reference to any http://java.sun.com/jsf/html.
Any ideas what is a problem?
Thanks,
Zalek
There is an example of JSP program:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:loadBundle basename="jsfks.bundle.messages" var="msg"/>
<html>
<head>
<title>enter your name page</title>
</head>
<body>
<f:view>
<h1>
<hutputText value="#{msg.inputname_header}"/>
</h1>
<h:form id="helloForm">
<hutputText value="#{msg.prompt}"/>
<h:inputText value="#{personBean.personName}" />
<h:commandButton action="greeting" value="#{msg.button_text}" />
</h:form>
</f:view>
</body>
</html>
When I try to run it I am getting:
exception
org.apache.jasper.JasperException: This absolute uri (http://
java.sun.com/jsf/html) cannot be resolved in either web.xml or the jar
files deployed with this application
I checked web.xml - there is no reference to any http://java.sun.com/jsf/html.
Any ideas what is a problem?
Thanks,
Zalek