gpt4 book ai didi

jsp - 是 in struts1 equals to in Struts 2

转载 作者:行者123 更新时间:2023-12-02 20:36:04 25 4
gpt4 key购买 nike

我正在尝试将 Struts 1 标签迁移到 Struts 2。是否有可用的备忘单来执行此操作?(我没有看到任何用于迁移标签的信息。)需要知道 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>

最佳答案

这是我很久以前使用过的表格:

+--------------------------+-------------------------------------+
| <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” |
+--------------------------+-------------------------------------+

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

关于jsp - 是 <html :base/> in struts1 equals to <s:head/> in Struts 2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47137916/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com