This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF not working in Jboss

 
Carl Jenkins
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

/JSFContext
META-INF
WEB-INF
-classes
-lib
commons jars
jstl jars
jsf-impl & jsf-core
tlds
web.xml
faces-config.xml
index.jsp
main.jsp
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
Posts: 572
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you setup the web.xml correctly?
 
L zhong
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic