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

lukaszlenart pushed a commit to branch new-mailreader
in repository https://gitbox.apache.org/repos/asf/struts-examples.git

commit dfb9a4c69b653532d6fb2d343744a64de4e3b0f7
Author: Lukasz Lenart <[email protected]>
AuthorDate: Sat Dec 14 07:13:04 2019 +0100

    Uses var instead of id in S2 tags
---
 mailreader2/src/main/webapp/WEB-INF/jsp/Welcome.jsp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/mailreader2/src/main/webapp/WEB-INF/jsp/Welcome.jsp 
b/mailreader2/src/main/webapp/WEB-INF/jsp/Welcome.jsp
index 0ce3e54..58e10a6 100644
--- a/mailreader2/src/main/webapp/WEB-INF/jsp/Welcome.jsp
+++ b/mailreader2/src/main/webapp/WEB-INF/jsp/Welcome.jsp
@@ -23,19 +23,19 @@
 <h3>Language Options</h3>
 <ul>
     <li>
-        <s:url id="en" action="Welcome">
+        <s:url var="en" action="Welcome">
             <s:param name="request_locale">en</s:param>
         </s:url>
         <s:a href="%{en}">English</s:a>
     </li>
     <li>
-        <s:url id="ja" action="Welcome">
+        <s:url var="ja" action="Welcome">
             <s:param name="request_locale">ja</s:param>
         </s:url>
         <s:a href="%{ja}">Japanese</s:a>
     </li>
     <li>
-        <s:url id="ru" action="Welcome">
+        <s:url var="ru" action="Welcome">
             <s:param name="request_locale">ru</s:param>
         </s:url>
         <s:a href="%{ru}">Russian</s:a>

Reply via email to