<table>
        <tr>    
         <td> 
           ...
         <td>
    </body>
    </tr>
    </table>
这个是笔误?

解决方案 »

  1.   

    String contentType=file.getContentType();
        String size=(file.getFileSize()+"bytes");
        String fileName=file.getFileName();
    这几个函数在struts类中都是抽象的,并无具体实现,你需要在你的form类中写出其实现过程.不然都是空函数
      

  2.   

    String contentType=file.getContentType();
        String size=(file.getFileSize()+"bytes");
        String fileName=file.getFileName();
    这几个函数在struts类中都是抽象函数,并无具体实现过程 ,你需要在form类中写出其具体实现的函数体,不然都是无法执行的.