Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7606293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:22:23+00:00 2026-05-31T00:22:23+00:00

I have a simple jsf 1.2 project (richfaces 3.3 implementation) where I have set

  • 0

I have a simple jsf 1.2 project (richfaces 3.3 implementation) where I have set the servlet mapping to *.xhtml. I also have a simple bean and a simple page to display the data.

I try to run the project, but, although I request mypage.xhtml, I am somehow redirected and I get the following error:

The requested resource (/rich_test/mypage.jsp) is not available.

Where does error come from?

Is there any further setting I need to make?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T00:22:24+00:00Added an answer on May 31, 2026 at 12:22 am

    For JSF 1.x, the default view technology is JSP. Facelets (XHTML) only became default in JSF 2.x. If you want to use Facelets in JSF 1.x, you basically need to set the default suffix to .xhtml instead of .jsp (after having installed the Facelets JAR file and registered the Facelets view handler).

    <context-param>
        <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
        <param-value>.xhtml</param-value>
    </context-param>
    

    However, on JSF 1.x, this way the FacesServlet will run in an infinite loop because everytime when it needs to resolve the XHTML file, it would invoke itself again. This issue does not occur on JSF 2.x anymore. For JSF 1.x, your best bet is to use the URL pattern of *.jsf instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a very simple JSF 2.0 project. I have an index.xhtml file to
Ok simple question. I have a JSF application, containing a login page. The problem
I have a simple JSF 2.0 composite component example. <!DOCTYPE html PUBLIC -//W3C//DTD XHTML
I have the following on my main jsf wrapper page: <head> <meta http-equiv=Content-Type content=text/xhtml;
I have a simple Login page made with JSF 2.0. Usually in every login
I have simple jsf page with view params and load method which is processing
I have simple jsf app with servlet for dynamic images and filter setting utf8
I'm trying to implement this simple example in JSF: There is a user.xhtml page
I am new to JSF and have a problem with my simple JSF application.
I have some problem's with a simple application in JSF 2.0. I try to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.