,ch14.9433 Page 466 Monday, February 14, 2005 12:55 PM
faces
*.faces
action
*.do
The servlet mapping for the Faces servlet directs all requests with a .faces extension
through the JSF FacesServlet for standard JSF processing. You will need to configure
Struts to use a custom request processor for handling JSF integration. Example 14 21
shows the struts config.xml, which specifies the controller declaration for the
FacesRequestProcessor
, that includes the action mappings for this example application.
Example 14 21. Struts configuration file that uses Struts Faces
" //Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts config_1_1.dtd">
name="logonForm"
scope="request"
type="com.oreilly.strutsckbk.ch14.LogonAction">
466 | 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.
footer
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved