File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes JSF not working in Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF not working in Jboss" Watch "JSF not working in Jboss" New topic

JSF not working in Jboss

Carl Jenkins
Ranch Hand

Joined: Feb 19, 2006
Posts: 39
I am attempting to get JSF running (for the first time) in jboss and running into some problems

I am just trying to run a simple example from JSF The complete Reference (Chap 2)

So far I have the following

commons jars
jstl jars
jsf-impl & jsf-core
blah blah

I can get to the index.jsp page which is just a simple html page. The problem happens when I click the first link to go to a jsf page. i get the following.
I could swear i have this set up correctly (but my errors are telling me differently ;) )

Thanks for any help!

Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
Have you setup the web.xml correctly?
L zhong

Joined: Oct 31, 2006
Posts: 4
it looks like the objects used in the main.jsp has some issues, which caused the nullpointer exception.

Try to identity the problem:
copy the index.jsp contect to main.jsp, if it works,which means the problem is the content of the main.jsp, then added the content little by little.
I agree. Here's the link:
subject: JSF not working in Jboss
It's not a secret anymore!