This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes JSF and the fly likes Deploy JSF Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » JSF
Bookmark "Deploy JSF Problem" Watch "Deploy JSF Problem" New topic

Deploy JSF Problem

Osama Hamed

Joined: Dec 15, 2009
Posts: 2
Dear All,
I have a problem regarding deploying my JSF application to an Apache Server , Tomcat 5.5.28 shared server
now the application is up and runing, but the problem is that,
when I access a .jsp (like: home.jsp) file directrly it gives error :-
org.apache.jasper.JasperException: No faces context?!

when I access the page like this (home.jsf)
it gives me the following error Code
The requested URL /home.jsf was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

when I access the page using the prefis
it loads fine, but commandLinks doesn't work because they submit to (.jsf file).

when I use in a jsp file

it works fine and include the page with no problems

my web.xml segment

I used Myfaces 1.1.6
Tomahaw 1.1.8
if you have any advice I will be thankfull for your help.

I agree. Here's the link:
subject: Deploy JSF Problem