Creating the main JSP page

To show your graphic view in Web browsers, you must create a Java Server Pages page.
To create a JSP page:
  1. In the Package Explorer view, right-click the WebContent folder and then select New>Others…>Web>JSP.
    Eclipse
new JavaServer Page window with JSP selected.
  2. Click Next > and enter index.jsp as the file name :
    Eclipse
new JavaServer Page window with WebContent selected.
  3. Click Next.
  4. Select New JavaServer Faces (JSF) Page (html) as the template:
    New
JavaServer Page with New JavaServer Faces (JSF) Page (html ) template
selected.
  5. Click Finish.