This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes getting 404 error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "getting 404 error" Watch "getting 404 error" New topic
Author

getting 404 error

satish bodas
Ranch Hand

Joined: Jun 19, 2008
Posts: 116
Hello ,
I am getting a Http 404 error and understand that it means that resource being accessed is not available

This is an app deployed in Tomcat
Simple JSF app

Scenario 1 ::
Here is the portion of the web.xml ::


My application is deployed under "webapps" in tomcat as :: " jsfExamples "

The URL that I try is ::
http://localhost:8080/jsfExamples/faces/pages/authentication/login.jsp
( This works fine )

This gives 404 ::
http://localhost:8080/jsfExamples/faces/pages/authentication/login.jsf

Here pages / authentication are folders under context .

Scenario 2 ::
If I change the web.xml servlet mapping to ::


Then I try this URL ::
http://localhost:8080/jsfExamples/pages/authentication/login.jsp

The page never loads and just keeps hanging

Nothing in logs too


Scenario 3 ::

web.xml ::


Tried this URL ::
http://localhost:8080/jsfExamples/pages/authentication/login.jsp

Got the following error ::


Thanks ,
~satish
[ September 08, 2008: Message edited by: satish bodas ]
Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598



My Blog SCJP 5 SCWCD 5
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: getting 404 error
 
Similar Threads
Problem in using Apache myfaces & tiles
JSF NewBie
404-tried everything
Problems of Deploying JSF war file to Tomcat
getting exception in JSF Tutorial of JR