• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deploy JSF Problem

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
/faces/home.jsp
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.
Osama,

 
reply
    Bookmark Topic Watch Topic
  • New Topic