,ch14.9433  Page 470  Monday, February 14, 2005  12:55 PM
Example 14 25. Rendering HTML with JSF and Struts Faces tags (continued)
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@ taglib prefix="s" uri="http://struts.apache.org/tags faces" %>
  Struts Cookbook   Integrating Struts and JSF

Struts Cookbook Integrating Struts and JSF


At this point, you have a working application, which uses Struts and JSF together,
that preserves your custom action classes and action forms and allows you to take
advantage of the rich components afforded by JavaServer Faces.
See Also
For the latest documentation on Struts Faces, consult the documentation included
with the Struts Faces nightly build. If you're unsure about using JSF or Struts, Craig
McClanahan presents a fair assessment on his blog at http://java.net/craigmcc.
You'll find a good article on integrating Struts, JSF, and Tiles on IBM's Developer
Works at http://www 106.ibm.com/developerworks/java/library/j integrate/.
The source for information on JavaServer Faces, including the specification and the
reference implementation, can be found at http://java.sun.com/jsf.
You can use Struts Faces with any JSF compliant implementation. The MyFaces
project (http://incubator.apache.org/projects/myfaces.html) implements the JSF speci 
fication and provides an alternative to the reference implementation.
You'll find the quick reference for the standard JSF tags at http://www.horstmann.com/
corejsf/jsf tags.html to be quite handy.
14.9 Integrating Struts and Velocity
You want to use a template engine for HTML page generation instead of JSPs in your
Struts application.
470 | Chapter 14: Tiles and Other Presentation Approaches
This is the Title of the Book, eMatter Edition
Copyright   2005 O'Reilly & Associates, Inc. All rights reserved.






 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

strutsweb hosting


Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved