myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r486870 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/servlet/ResourceServlet.java
Date Wed, 13 Dec 2006 22:29:28 GMT
Author: bommel
Date: Wed Dec 13 14:29:27 2006
New Revision: 486870

URL: http://svn.apache.org/viewvc?view=rev&rev=486870
Log:
(TOBAGO-214) ResourceServlet should set Expired Header (configurable)
add description to javadoc

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/servlet/ResourceServlet.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/servlet/ResourceServlet.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/servlet/ResourceServlet.java?view=diff&rev=486870&r1=486869&r2=486870
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/servlet/ResourceServlet.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/servlet/ResourceServlet.java
Wed Dec 13 14:29:27 2006
@@ -31,7 +31,24 @@
 import java.util.Date;
 
 /**
- * User: lofwyr
+ *
+ *
+ * <p><blockquote><pre>
+  &lt;servlet&gt;
+    &lt;servlet-name&gt;ResourceServlet&lt;/servlet-name&gt;
+    &lt;servlet-class&gt;org.apache.myfaces.tobago.webapp.TobagoMultipartFormdataFilter&lt;/servlet-class&gt;
+    &lt;init-param&gt;
+      &lt;description&gt;The value for the expires header in seconds.
+             Default is no expires header.&lt;/description&gt;
+      &lt;param-name&gt;expires&lt;/param-name&gt;
+      &lt;param-value&gt;14400&lt;/param-value&gt;
+    &lt;/init-param&gt;
+  &lt;/servlet&gt;
+  &lt;servlet-mapping&gt;
+    &lt;servlet-name&gt;ResourceServlet&lt;/servlet-name&gt;
+    &lt;url-pattern&gt;/org/apache/myfaces/tobago/renderkit/*&lt;/url-pattern&gt;
+  &lt;/servlet-mapping&gt;
+ </pre></blockquote><p>
  *
  * @since 1.0.7
  *        <p/>



Mime
View raw message