File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes unable to instantiate tag f:view Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "unable to instantiate tag f:view" Watch "unable to instantiate tag f:view" New topic
Author

unable to instantiate tag f:view

lynn fann
Ranch Hand

Joined: Oct 15, 2006
Posts: 115
Im using JSF1.2 and when i use the <f:view> tag in the jsf page, i got the above error.

i have all the required libraries(jsf-api.jar,jsf-impl.jar) in the web-inf\lib.

What causes the error??
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
The complete error message and the stacktrace please.
lynn fann
Ranch Hand

Joined: Oct 15, 2006
Posts: 115
there is no stacktrace.

Im using Jdeveloper. When i type in the tag <f:view> it show an error saying " Unable to instantiate tag: f:view (class: null) Make sure that the tag class is available and that the tag library containing the class is not excluded from this application."
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
So this is a problem of JDeveloper and not of JSF?
Pari Gandhi
Greenhorn

Joined: Feb 26, 2009
Posts: 10
If you are using Facelets, make sure that you have



If you are using JSP, make sure that you have



at the top.
lynn fann
Ranch Hand

Joined: Oct 15, 2006
Posts: 115
ya, i have the 2 lines on top
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: unable to instantiate tag f:view
 
Similar Threads
JSF and tiles
unknown tag <h:..> and <f:view>
JSF Expression Language: scope for expression language syntax
Hoto include JSP page in JSF
onload for JSP