• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

unable to run my first example

 
vasu chowdary
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is not first time for me,I have tried so many times,even i download the code form roseindia.net but i am unable to run my first exaqmple.It is showing 404 exception while i am running this webapp in tomcat.following is my code..







for this i have added jsf-api.jar,jsf-impl.jar,jstl.jar,standard.jar in my lib folder


please help me

 
Pawan Kr Gupta
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Vashu,

404 error comes when the concerned JSP page is not there.so please test whether the page hello.jsf is prsent or not.
 
Tim Holloway
Saloon Keeper
Posts: 18300
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pawan Kr Gupta wrote:Dear Vashu,

404 error comes when the concerned JSP page is not there.so please test whether the page hello.jsf is prsent or not.


"hello.jsf" is a URL, not a "page" (meaning a file containing a JSF page template). People confuse resource paths with URL paths just because they look a lot alike. But there are some very important differences. One of which is that the URL "faces.jsf" will often be resolved by locating and processing a resource named "faces.jsp", depending on how the web.xml was set up.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic