18.4 Converting Existing Struts Applications to JSF


To convert an existing Struts application to use JSF within a Struts application, you will need to perform the following steps:

  1. Add the struts-faces.jar file to your application's WEB-INF/lib directory.

  2. Add the JARs for your particular JSF implementation to your application's WEB-INF/lib directory.

  3. Configure the Web Application Deployment Descriptor (web.xml) to use the Faces Front Controller.

You can now modify your application's pages to use the JSF tag libraries.



Programming Jakarta Struts
Programming Jakarta Struts, 2nd Edition
ISBN: 0596006519
EAN: 2147483647
Year: 2003
Pages: 180

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net