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

  • Home
  • SEARCH
  • 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 7880019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:02:39+00:00 2026-06-03T04:02:39+00:00

i am developing a jsf web application with netbeans. <fieldset> <div> <h:inputText id=firstname value=#{loginCtrl.customer.name}

  • 0

i am developing a jsf web application with netbeans.

    <fieldset>
        <div>
           <h:inputText id="firstname" value="#{loginCtrl.customer.name}" label="Name">
                  <f:validateLength minimum="3" maximum="8"/>
           </h:inputText>
        <div>
...

I wrote that code but when I deploy it to the apache tomcat server, there is no field shown? Why? h:input has no visibility element?

greetings and thx in advance

PS.: my web.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
    <context-param>
        <param-name>javax.faces.PROJECT_STAGE</param-name>
        <param-value>Development</param-value>
    </context-param>
    <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file>faces/register.jsf</welcome-file>
    </welcome-file-list>
</web-app>
  • 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-06-03T04:02:41+00:00Added an answer on June 3, 2026 at 4:02 am

    Make sure that the request URL as you see in browser’s address bar matches the URL pattern of the FacesServlet as specified in web.xml. You can verify this by rightclicking the page in browser and viewing the generated HTML source. If the <h:inputText> is still there, then it means that the FacesServlet isn’t been invoked at all.

    If you open the page by /page.xhtml, then the FacesServlet is apparently not mapped on *.xhtml, but on *.jsf or something else. You’d need to change the URL in browser’s address bar accordingly to match exactly the specified URL pattern, or to fix the mapping accordingly.

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

Sidebar

Related Questions

I am developing a web application using JSF on Netbeans 7.0. I have created
I'm developing a web application using JSF 2.0, NetBeans 6.9.1, GlassFish Server 3.1, mojarra
I'm developing a JSF web application, with the current 2.1.7 JSF version . Actually,
I am developing a web application based on JSF technology. I use Eclipse as
I am developing a Java Web Application using JSF, Spring and Hibernate. I need
I'm developing web-application with JSF. I tested it as I was able to but
While developing a web application in JSF, I came across an expression which was
We are developing a simple web application in JSF in which there is a
I'm developing a web application with JSF 2.0 on the IDE Eclipse Indigo (the
We currently maintain a JSF application developed using Netbeans 5.5.1 using the Visual Web

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.