• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF novice problem using Glassfish v3 prelude with Eclipse

 
tyron bangs
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i'm new to JSF and i try to create simplest jsf pages. I've installed the "glassfish-tools-bundle-for-eclipse-0.99.1" and deployed a Project.

When i try to launch the jsp first.jsp i get following error:

StandardWrapperValve[jsp]: PWC1406: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /WebContent/first.jsp(2,57) PWC6188: The absolute uri: http://java.sun.com/jsf/core cannot be resolved in either web.xml or the jar files deployed with this application


this my jsp:

<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<f:view>
<h:commandButton></h:commandButton>
<hutputText>HELLO</hutputText>
</f:view>
</body>
</html>


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic