myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject svn commit: r618793 - /myfaces/core/trunk_1.2.x/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java
Date Tue, 05 Feb 2008 21:53:23 GMT
Author: skitching
Date: Tue Feb  5 13:53:22 2008
New Revision: 618793

URL: http://svn.apache.org/viewvc?rev=618793&view=rev
Log:
Add docs only.

Modified:
    myfaces/core/trunk_1.2.x/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java

Modified: myfaces/core/trunk_1.2.x/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk_1.2.x/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java?rev=618793&r1=618792&r2=618793&view=diff
==============================================================================
--- myfaces/core/trunk_1.2.x/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java
(original)
+++ myfaces/core/trunk_1.2.x/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java
Tue Feb  5 13:53:22 2008
@@ -31,6 +31,20 @@
 import javax.servlet.ServletContextListener;
 
 /**
+ * Initialise the MyFaces system.
+ * <p>
+ * This context listener is registered by the JSP TLD file for the standard
+ * JSF "f" components. Normally, servlet containers will automatically load
+ * and process .tld files at startup time, and therefore register and run
+ * this class automatically.
+ * <p>
+ * Some very old servlet containers do not do this correctly, so in those
+ * cases this listener may be registered manually in web.xml. Registering
+ * it twice (ie in both .tld and web.xml) will result in a harmless warning
+ * message being generated. Very old versions of MyFaces Core do not register
+ * the listener in the .tld file, so those also need a manual entry in web.xml.
+ * However all versions since at least 1.1.2 have this entry in the tld.
+ * 
  * @author Manfred Geiler (latest modification by $Author$)
  * @version $Revision$ $Date$
  */



Mime
View raw message