You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by da...@apache.org on 2007/11/17 03:22:22 UTC

svn commit: r595898 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Include.java

Author: davenewton
Date: Fri Nov 16 18:22:22 2007
New Revision: 595898

URL: http://svn.apache.org/viewvc?rev=595898&view=rev
Log:
Minor JavaDoc additions.

Modified:
    struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Include.java

Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Include.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Include.java?rev=595898&r1=595897&r2=595898&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Include.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Include.java Fri Nov 16 18:22:22 2007
@@ -54,8 +54,11 @@
 /**
  * <!-- START SNIPPET: javadoc -->
  * <p>Include a servlet's output (result of servlet or a JSP page).</p>
- * <p>Note: Any additional params supplied to the included page are <b>not</b> accessible within the rendered page
- * through the &lt;s:property...&gt; tag!</p>
+ * <p>Note: Any additional params supplied to the included page are <b>not</b>
+ * accessible within the rendered page through the &lt;s:property...&gt; tag
+ * since no valuestack will be created. You can, however, access them in a 
+ * servlet via the HttpServletRequest object or from a JSP page via
+ * a scriptlet.</p>
  * <!-- END SNIPPET: javadoc -->
  *
  *
@@ -81,7 +84,7 @@
  * &lt;-- Three: --&gt;
  * &lt;s:include value="myJsp.jsp"&gt;
  *    &lt;s:param name="param1"&gt;value1&lt;/s:param&gt;
- *    &lt;s:param name="param2"&gt;value2&lt;s:param&gt;
+ *    &lt;s:param name="param2"&gt;value2&lt;/s:param&gt;
  * &lt;/s:include&gt;
  * <!-- END SNIPPET: example -->
  *