Java Reference
In-Depth Information
Once the JSF 2 facets are configured, if you press
Ctrl
+ Space bar before referen-
cing a field or method, a suggestion popup window will let you choose the method or
the attribute of the Bean you want to reference:
Getting ready to run the application
Ok, now your application is almost ready; we just need to add a welcome page
named
index.html
that redirects to our main page,
index.xhtml
.
<html>
<head>
<meta http-equiv="Refresh" content="0;
URL=index.jsf">
</head>
</html>
Please note that we are triggering JSF pages by using the
*.jsf
URL pattern, as
defined in
web.xml
:
<web-app>
<servlet>