Java Reference
In-Depth Information
This is shown in the following code:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.1" xmlns=""
<servlet-name>Faces Servlet</servlet-name>
<servlet-name>Faces Servlet</servlet-name>
As we can see, NetBeans automatically sets the JSF project stage to Development .
Setting the project stage to Development configures JSF to provide additional
debugging help that is not present in other stages. For example, one common
problem when developing a JSF page is that while a page is being developed,
validation for one or more fields on the page fails but the developer has not added
an <h:message> or <h:messages> tag to the page (more on this later). When this
happens and the form is submitted, the page seems to do nothing, or page navigation
doesn't work properly. When setting the project stage to Development , these
validation errors will automatically be added to the page, without the developer
having to explicitly add one of these tags to the page (we should, of course, add
the tags before releasing our code to production, since our users will not see the
automatically generated validation errors).
Search WWH ::

Custom Search