• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP Status 500 in Jsf file

 
liliane fahmy
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a beginner in Jsf,
The following JSF file get null pointer in <f:view>,here you are the exception and the code:

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: An exception occurred processing JSP page /home.jsp at line 11

8:
9: <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
10: <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
11: <f:view>
12: <h:outputText value="hello offf ba2a"/>
13:
14: </f:view>

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" %>
<f:view>
<h:outputText value="hello offf ba2a"/>

</f:view>
PLEASE I want to know what 's the mistake in my code causing this exception




 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Without a stack trace, I cannot say what causes the exception, but your sample code is based on an outdated version of JSF.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic