Two Laptop Bag
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
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
It's not a secret anymore!