JBoss.orgCommunity Documentation
You also need to create a start page as an entry point into the application.
In the Package Explorer view to the left, right-click jsfHello > WebContent and select New > JSP File
For Name type in index , for Template select JSPRedirect and click Finish
A JSP editor will open up on the newly created file.
In the Source part of the split screen, type /pages/inputname.jsf in between the quotes for the page attribute
The source coding should look like this now:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head></head>
<body>
<jsp:forward page="/pages/inputname.jsf" />
</body>
</html>
Note the .jsf extension for the file name. This is a mapping defined in the web.xml file for the project for invoking JavaServer Faces when you run the application.
Select File > Save from the menu bar