Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hello World Programme is not Running

 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
web.xml

faces-config.xml

index.jsp

hello.jsf

Four Library in classpath
1) jsf-api.jar 2)jsf-impl.jar 3)jstl.jar 4)standard.jar

I am getting 404 error.
description The requested resource (/TestJSF/hello.jsp) is not available.
[ December 04, 2008: Message edited by: Vishal Pandya ]
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I rename hello.jsf to hello.jsp and modify index.jsp like

Now I am getting below exception.

And line 1,


???
 
gul kaur
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check that you are using the correctURL /hello.jsf instead of /hello.jsp
 
Swapnil Deshmukh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey The file should be saved as hello.jsp but from index.jsp you need to forward it to hello.jsf
Try it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic