GeeCON Prague 2014*
The moose likes JSF and the fly likes JSF novice problem using Glassfish v3 prelude with Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "JSF novice problem using Glassfish v3 prelude with Eclipse" Watch "JSF novice problem using Glassfish v3 prelude with Eclipse" New topic
Author

JSF novice problem using Glassfish v3 prelude with Eclipse

tyron bangs
Greenhorn

Joined: Sep 28, 2007
Posts: 2
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>


 
GeeCON Prague 2014
 
subject: JSF novice problem using Glassfish v3 prelude with Eclipse