• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF errors

 
Max Ji
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I'm new to JSF. Am trying to display this page using WebLogic 9.0:


<%@ 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>


and getting these errors:


inputname.jsp:2:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
^----^
inputname.jsp:3:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
^----^

What am I missing?? Thanks for any help.
 
Jignesh Patel
Ranch Hand
Posts: 626
Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Max are you connected with Internet? That might be problem.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jignesh Patel:
Max are you connected with Internet? That might be problem.


Nah. These should be referenced from within the JAR file of whatever implementation. Speaking of, what implementation are you using?
 
Max Ji
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe it's JavaServer Faces v1.1 Reference Implementation.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!