JavaServer Faces

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
m (Jsf moved to JSF)
m (JSF moved to JavaServer Faces)

Revision as of 15:34, 23 February 2006


Sun Reference Implementation

The Sun reference implementation of Java Server Faces uses a listener in a .tld file for initialization. Resin in it's default configuration does not search for tld files because of the negative impact the search has on startup times.

To use the JSF Reference Implementation in Resin, configure the listener explicitly in web.xml or resin-web.xml:

<listener> 
  <listener-class>com.sun.faces.config.ConfigureListener</listener-class>  
</listener>

An alternative is to configure the JspServlet to search for .tld files at startup.

MyFaces Implementation

To use the MyFaces Implementation in Resin, configure the following listener in web.xml or resin-web.xml:

<listener>
  <listener-class>net.sourceforge.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>
Personal tools