File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "getting 404 error" Watch "getting 404 error" New topic

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 ::
( This works fine )

This gives 404 ::

Here pages / authentication are folders under context .

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

Then I try this URL ::

The page never loads and just keeps hanging

Nothing in logs too

Scenario 3 ::

web.xml ::

Tried this URL ::

Got the following error ::

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

Joined: Aug 18, 2008
Posts: 598

My Blog SCJP 5 SCWCD 5
I agree. Here's the link:
subject: getting 404 error