日期:2014-05-18  浏览次数:20701 次

jsp表格问题
<%@   page   import= "java.util.Vector "   %>
<%@   page   import= "mq.model.gong "   %>
<%@   include   file= "Taglibs.jsp "   %>

<html>
<HEAD>
    <head>
        <STYLE   type=text/css>
          TD   {
FONT-SIZE:   13px

}
</style>
    </head>    
    <TITLE>
        <bean:message   key= "index.title "/>
    </TITLE>
</HEAD>
    <body>
    <table   width= "170 "   border= "0 "   align= "left "   cellpadding= "0 "   cellspacing= "0 "     >
      <tr>  
                    <td   width= "167 "   rowspan= "3 "   vAlign=top     height= "271 "   background= "images/ggl.gif ">
                    <DIV   align= "left ">
                          <P>
                              <br>
                              <br>
                              <br>                              
                          </P>
                          <table   width= "170 "   height= "104 "   border= "0 "   cellspacing= "0 "   cellpadding= "0 "     >                                
    <%
          Vector   vs   =   (Vector)request.getAttribute( "gong ");
          for(int   i=0;i <vs.size();i++)          
          {          
                gong   go   =   (gong)vs.elementAt(i);
                System.out.println(vs.size());

    %>
                      <tr>
                        </td   width= "100% "   align= "center ">
                        &nbsp
                              <img   src= "images/bj321.gif "/>  
&