如何通过编程从Struts2标记获取嵌套组件?
如何从struts2标记中获取所有嵌套的标记元素? 例如文本和复选框标记来自表单标记?:如何通过编程从Struts2标记获取嵌套组件?,struts2,tags,nested,Struts2,Tags,Nested,如何从struts2标记中获取所有嵌套的标记元素? 例如文本和复选框标记来自表单标记?: <s:form> <s:text .../> <s:checkbox .../ <s:form> 使用org.apache.struts2.components.Component类中的getComponentStack()方法
<s:form>
<s:text .../>
<s:checkbox .../
<s:form>
使用org.apache.struts2.components.Component类中的getComponentStack()方法