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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:00:51+00:00 2026-05-24T01:00:51+00:00

I have a Facelet file with JSF tags to display a label, an input

  • 0

I have a Facelet file with JSF tags to display a label, an input field and a button, but those parts are are not visible in the browser when I run it.

<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:h="http://java.sun.com/jsf/html">
     <h:head>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
         <title> supply a title</title>
     </h:head>
     <h:body>
         <h:form>
              Name:
            <h:outputLabel value="First Name:"> </h:outputLabel>
            <h:inputText id="name" value="#{DataForm.name}"></h:inputText>
            <h:commandButton value="Doctor Register" action="#{DataForm.submit}">       </h:commandButton>


         </h:form>
     </h:body>
 </html>

How is this caused and how can I solve it? I am using netbeans 6.9.1 Glassfish 3.1.

  • 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-24T01:00:52+00:00Added an answer on May 24, 2026 at 1:00 am

    This can happen when the FacesServlet is not been invoked. It’s the one responsible for parsing the Facelet file and doing all the JSF works.

    You need to ensure that your request URL (the one which you see in the browser address bar) matches the URL pattern of the FacesServlet as it is been mapped in the web.xml. If it’s for example mapped on an URL pattern of *.jsf, then you need to ensure that you open the page in browser by

    http://localhost:8080/contextname/index.jsf

    Or when you want to invoke the FacesServlet on every *.xhtml request, then you need to change the URL pattern of the mapping in web.xml accordingly (recommended)

    <url-pattern>*.xhtml</url-pattern>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have jsf application in which I have to use a facelet custom component
I have a jsf component that must access to a javascript file, i added
I'm new in JSF and I have some strange problems in displaying conditional parts
My problem is similar to: JSF tags not rendered , JSf tags not being
I have a some.xhtml file with jsf libs in it. In <h:body> tag I
I have Facelet component and I have backing bean for it. When I include
I have the follwing code inside a facelet page: <h:inputNumber value=bean.property> <f:convertNumber type=currency />
I'm using JSF 1.2 with Richfaces and Facelets. I have an application with many
Using Richfaces 3.3.0GA, jsf 1.2_14 and facelets. I have a richfaces ModalPanel with an
Have just started using Google Chrome , and noticed in parts of our site,

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.