File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploy JSF Problem

Osama Hamed
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic