当前位置: 代码迷 >> Eclipse >> <html:link用<bean:write name="element"/>做参数有关问题
  详细解决方案

<html:link用<bean:write name="element"/>做参数有关问题

热度:188   发布时间:2016-04-23 18:55:23.0
<html:link用<bean:write name="element"/>做参数问题
<center>
        <jsp:useBean   id= "listInformation "   scope= "page "   class= "com.yourcompany.struts.operation.ListInformation "> </jsp:useBean>
          <TABLE   border= "1 "   width=550   cellspacing= "0 "   cellpadding= "0 "     bordercolor= "#CCCCCC "   bgcolor= "#CCCCCC "   style= "TABLE-LAYOUT:fixed ">
                        <TR   bgcolor= "#9999CC ">
                            <TD   align=center   colspan=3   height=40> Please   Enter   Your   Name   And   Your   College </TD>
                        </TR>
                        <TR   bgcolor= "#9999CC ">
                           
                           
                        <TD   align=center>
                            <TABLE   border= "1 "   width= "100% "     height= "100% "   cellspacing= "0 "   cellpadding= "3 "   frame= "void "  
                                  bordercolor= "#CCCCCC "   bgcolor= "#CCCCCC "   style= "TABLE-LAYOUT:fixed ">
                                        <TR>   <TD   align=center   width= "30% "   height=40> Name </TD> </TR>
                              <logic:iterate   id= "element "   name= "listInformation "   property= "nameList ">
                                            <TR   bgcolor= "#FFFFFF ">
                                    <TD   align=center   height= "40 ">
                                    <bean:write   name= "element "/>
                                    </TD>
                                        </TR>
                              </logic:iterate>
                                </TABLE>
  相关解决方案