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 7078363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:32:19+00:00 2026-05-28T06:32:19+00:00

I a working on a JSF2/Spring3/JPA2 project using facelets as view technology. javax.faces.DEFAULT_SUFFIX is

  • 0

I a working on a JSF2/Spring3/JPA2 project using facelets as view technology.

javax.faces.DEFAULT_SUFFIX is .xhtml and the url-pattern for Faces Servlet is *.xhtml

We are also using prettyfaces but it seems irrelevant to my problem that I’ll explain below.

We are on Tomcat 7.

We decided to show up custom 404 error pages and created a page called error404.xhtml at the web root. We also configured it in web.xml as:

<error-page>
    <error-code>404</error-code>
    <location>/error404.xhtml</location>
</error-page>

Now when I try to enter http://localhost:8084/myapp/some-non-existing-folder I get the 404 page and an expected 404 response.

But when I try to enter http://localhost:8084/myapp/some-non-existing-page.xhtml I get a blank page from Tomcat, no error, and the resonse header is 200 OK.

We’re kind of stuck at this point and clueless since there is no output, log, error whatsoever that can point us in any direction.

Thanks

  • 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-28T06:32:19+00:00Added an answer on May 28, 2026 at 6:32 am

    Is this some thing like the login page for your application or ur trying to deeplink the page or to navigate to that particular page.As its some thing like a page not found and ur trying to access that the first link would be working fine.But,for the second one http://localhost:8084/myapp/some-non-existing-page.xhtml.There might be an exception generated.So if you can write a custom exception handler and direct the page to your required detination.This issue can be resolved.

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

Sidebar

Related Questions

I added and have been using the faces-config.xml in my Netbeans 6.9/JSF2.0 project due
So i'm working on a project (JSF2, Spring3 Core, MVC, Webflow, MyBatis3, RichFaces, and
I found this Mixing JSP and XHTML (Facelets) in JSF2 Project - possible? when
Working in Eclipse on a Dynamic Web Project (using Tomcat (v5.5) as the app
I am working on a project to take an existing project using JSF1.2, JSP,
I'm working on a JSF 2.0 project using Mojarra, PrimeFaces and Tomcat 6.x, but
I am working on a JSF 2.0 project, and learning the benefits of using
I'm using Richfaces 3, Facelets (a pre-JSF 2 version), and Tomcat. I am working
I have recently started working with JSF2.0 and Facelets, but have run into what
I'm developing an application using jsf2 and facelets . In one of my views

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.