File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
HTTP Status 500 in Jsf file
Joined: Aug 24, 2012
Aug 24, 2012 15:47:04
I am a beginner in
The following JSF file get null pointer in <f:view>,here you are the exception and the code:
type Exception report
description The server encountered an internal error () that prevented it from fulfilling this request.
org.apache.jasper.JasperException: An exception occurred processing
page /home.jsp at line 11
9: <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
10: <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
12: <h:outputText value="hello offf ba2a"/>
and the code of JSF is:
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<h:outputText value="hello offf ba2a"/>
PLEASE I want to know what 's the mistake in my code causing this exception
Joined: Jun 25, 2001
Aug 28, 2012 06:19:09
Without a stack trace, I cannot say what causes the exception, but your sample code is based on an outdated version of JSF.
An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: HTTP Status 500 in Jsf file
problems with <f:subview>
How to create Richfaces menus in Vertical?
Basic doubt in the JSF
JSF Example Error
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015