Click here to Skip to main content
15,894,646 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am creating a login page in using JSF in Netbeans 7.1.

Below is a sample code for the login.jsp.

XML
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ 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=UTF-8">
        <title>Angoni Communications</title>
    </head>
    <f:view>

...............................
When i insert core tag libraries such as f:view ,h:form ,h:commandbutton etc it throws the following
VB
org.apache.jasper.JasperException: java.lang.NullPointerException


when i remove them, the application renders well without errors. i need help please
Posted
Updated 23-Aug-13 21:16pm
v2
Comments
CodingLover 23-Aug-13 6:26am    
Is that the complete exception you end up with?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900