struts1 中的 <html:base/> 是否等于 Struts 中的 <s:head/> 2
Is <html:base/> in struts1 equals to <s:head/> in Struts 2
我正在尝试将 Struts 1 个标签迁移到 Struts 2。是否有可用的作弊 sheet?(我没有看到任何用于迁移标签的作弊。 ) 需要知道 struts2
中的等价标签
Especially : <html:base/> in struts1 equals to <s:head/> in struts2
?
html:html
html:base
html:link forward
html:link page
html:html
html:form action
html:hidden
html:submit>
这是我很久以前用过的 table:
+--------------------------+-------------------------------------+
| <bean:write name= | <s:property value= |
+==========================+=====================================+
| <bean:message key= | <s:text name= |
+--------------------------+-------------------------------------+
| <html:rewrite | <s:url value= |
+--------------------------+-------------------------------------+
| <html:link action= | <s:a action= |
+--------------------------+-------------------------------------+
| <html:img action= | <img src== |
+--------------------------+-------------------------------------+
| <html:img page= | <img src= |
+--------------------------+-------------------------------------+
| <html:hidden property= | <s:hidden name= |
+--------------------------+-------------------------------------+
| <html:submit | <s:submit |
+--------------------------+-------------------------------------+
| </html:submit> | </s:submit |
+--------------------------+-------------------------------------+
| <html:form | <s:form |
+--------------------------+-------------------------------------+
| </html:form | </s:form |
+--------------------------+-------------------------------------+
| <html:text | <s:textfield |
+--------------------------+-------------------------------------+
| <html:password | <s:password |
+--------------------------+-------------------------------------+
| <html:select property= | <s:select name= |
+--------------------------+-------------------------------------+
| <html:optionsCollection | <s:select list= listKey= listValue= |
+--------------------------+-------------------------------------+
| <html:checkbox property= | <s:checkbox name= |
+--------------------------+-------------------------------------+
| <html:file | <s:file name= |
+--------------------------+-------------------------------------+
| <html:button | <input type=“button” |
+--------------------------+-------------------------------------+
其他你可以在我的答案中找到。
我正在尝试将 Struts 1 个标签迁移到 Struts 2。是否有可用的作弊 sheet?(我没有看到任何用于迁移标签的作弊。 ) 需要知道 struts2
中的等价标签Especially :
<html:base/> in struts1 equals to <s:head/> in struts2
?
html:html
html:base
html:link forward
html:link page
html:html
html:form action
html:hidden
html:submit>
这是我很久以前用过的 table:
+--------------------------+-------------------------------------+
| <bean:write name= | <s:property value= |
+==========================+=====================================+
| <bean:message key= | <s:text name= |
+--------------------------+-------------------------------------+
| <html:rewrite | <s:url value= |
+--------------------------+-------------------------------------+
| <html:link action= | <s:a action= |
+--------------------------+-------------------------------------+
| <html:img action= | <img src== |
+--------------------------+-------------------------------------+
| <html:img page= | <img src= |
+--------------------------+-------------------------------------+
| <html:hidden property= | <s:hidden name= |
+--------------------------+-------------------------------------+
| <html:submit | <s:submit |
+--------------------------+-------------------------------------+
| </html:submit> | </s:submit |
+--------------------------+-------------------------------------+
| <html:form | <s:form |
+--------------------------+-------------------------------------+
| </html:form | </s:form |
+--------------------------+-------------------------------------+
| <html:text | <s:textfield |
+--------------------------+-------------------------------------+
| <html:password | <s:password |
+--------------------------+-------------------------------------+
| <html:select property= | <s:select name= |
+--------------------------+-------------------------------------+
| <html:optionsCollection | <s:select list= listKey= listValue= |
+--------------------------+-------------------------------------+
| <html:checkbox property= | <s:checkbox name= |
+--------------------------+-------------------------------------+
| <html:file | <s:file name= |
+--------------------------+-------------------------------------+
| <html:button | <input type=“button” |
+--------------------------+-------------------------------------+
其他你可以在我的答案中找到。