This is an automated email from the ASF dual-hosted git repository.

yasserzamani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/master by this push:
     new b33a120  tidying token interceptor pages
b33a120 is described below

commit b33a120295df2a252669f1944fd8cd68467a1919
Author: Yasser Zamani <yasserzam...@apache.org>
AuthorDate: Wed May 8 09:27:10 2019 +0430

    tidying token interceptor pages
---
 source/core-developers/token-interceptor.md         | 4 ++--
 source/core-developers/token-session-interceptor.md | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/source/core-developers/token-interceptor.md 
b/source/core-developers/token-interceptor.md
index 79f4d64..e05a813 100644
--- a/source/core-developers/token-interceptor.md
+++ b/source/core-developers/token-interceptor.md
@@ -46,12 +46,12 @@ such as done with the token session interceptor.
      <result name="success">good_result.ftl</result>
  </action>
 
- <-- In this case, myMethod of the action class will not
+ <!-- In this case, myMethod of the action class will not
         get checked for invalidity of token -->
  <action name="someAction" class="com.examples.SomeAction">
      <interceptor-ref name="token">
         <param name="excludeMethods">myMethod</param>
-     </interceptor-ref name="token"/>
+     </interceptor-ref>
      <interceptor-ref name="basicStack"/>
      <result name="success">good_result.ftl</result>
  </action>
diff --git a/source/core-developers/token-session-interceptor.md 
b/source/core-developers/token-session-interceptor.md
index 1845d5d..0f7c06d 100644
--- a/source/core-developers/token-session-interceptor.md
+++ b/source/core-developers/token-session-interceptor.md
@@ -30,17 +30,17 @@ There are no known extension points for this interceptor.
 
 ```xml
  <action name="someAction" class="com.examples.SomeAction">
-     <interceptor-ref name="tokenSession/>
+     <interceptor-ref name="tokenSession"/>
      <interceptor-ref name="basicStack"/>
      <result name="success">good_result.ftl</result>
  </action>
 
- <-- In this case, myMethod of the action class will not
+ <!-- In this case, myMethod of the action class will not
         get checked for invalidity of token -->
  <action name="someAction" class="com.examples.SomeAction">
-     <interceptor-ref name="tokenSession>
+     <interceptor-ref name="tokenSession">
          <param name="excludeMethods">myMethod</param>
-     </interceptor-ref name="tokenSession>
+     </interceptor-ref>
      <interceptor-ref name="basicStack"/>
      <result name="success">good_result.ftl</result>
  </action>

Reply via email to