JavaServer Faces Introduction

JSF is a project to ease developing user interfaces for web applications and for that reason some call it server-side Swing.

For easy JSF-development, you can download Sun's v1.1.01 Reference Implementation and then copy the jars that you find in the lib folder, jsf-api.jar, jsf-impl.jar and a couple of commons- jars to Tomcat's common/lib.
If you use Sun's Application Server instead, the files required are already there, since they are part of the Enterprise Edition.

The url to test the jsp below, http://localhost:8080/appname/faces/test.jsp, contains /faces/ , but this is NOT, and should not be, a folder. It is just meant as a url-pattern to get the test.jsp processed by FacesServlet, as you can see in the web.xml that's in the text-box below.

To be continued...

Double-click to select or

Copyright © 2000-2006 SEMM (NL) All rights reserved

Terms, conditions, disclaimer