struts1 中的 <html:base/> 等于 Struts 2 中的 <s:head/>

Sri*_*har 2 jsp struts struts2

我正在尝试将 Struts 1 标签迁移到 Struts 2。是否有任何备忘单可以执行此操作?(我没有看到任何用于迁移标签的信息。)需要知道 struts2 中的等效标签

尤其<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>
Run Code Online (Sandbox Code Playgroud)

Rom*_*n C 5

这是我很久以前用过的一张表:

\n\n
+--------------------------+-------------------------------------+\n|  <bean:write name=       | <s:property value=                  |\n+==========================+=====================================+\n| <bean:message key=       | <s:text name=                       |\n+--------------------------+-------------------------------------+\n| <html:rewrite            | <s:url value=                       |\n+--------------------------+-------------------------------------+\n| <html:link action=       | <s:a action=                        |\n+--------------------------+-------------------------------------+\n| <html:img action=        | <img src==                          |\n+--------------------------+-------------------------------------+\n| <html:img page=          | <img src=                           |\n+--------------------------+-------------------------------------+\n| <html:hidden property=   | <s:hidden name=                     |\n+--------------------------+-------------------------------------+\n| <html:submit             | <s:submit                           |\n+--------------------------+-------------------------------------+\n| </html:submit>           | </s:submit                          |\n+--------------------------+-------------------------------------+\n| <html:form               | <s:form                             |\n+--------------------------+-------------------------------------+\n| </html:form              | </s:form                            |\n+--------------------------+-------------------------------------+\n| <html:text               | <s:textfield                        |\n+--------------------------+-------------------------------------+\n| <html:password           | <s:password                         |\n+--------------------------+-------------------------------------+\n| <html:select property=   | <s:select  name=                    |\n+--------------------------+-------------------------------------+\n| <html:optionsCollection  | <s:select list= listKey= listValue= |\n+--------------------------+-------------------------------------+\n| <html:checkbox property= | <s:checkbox name=                   |\n+--------------------------+-------------------------------------+\n| <html:file               | <s:file name=                       |\n+--------------------------+-------------------------------------+\n| <html:button             | <input type=\xe2\x80\x9cbutton\xe2\x80\x9d                |\n+--------------------------+-------------------------------------+\n
Run Code Online (Sandbox Code Playgroud)\n\n

其他的你可以在我的回答中找到。

\n