This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes unable to run my first example Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "unable to run my first example" Watch "unable to run my first example" New topic
Author

unable to run my first example

vasu chowdary
Ranch Hand

Joined: Mar 15, 2008
Posts: 84
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

Joined: Nov 21, 2010
Posts: 26
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

Joined: Jun 25, 2001
Posts: 14475
    
    7

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: unable to run my first example
 
Similar Threads
first JSF page...
Hello World Programme is not Running
EL expressions are not evaluated
JSF Tag Problem
Getting ViewExpiredException