木木

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  21 随笔 :: 4 文章 :: 5 评论 :: 0 Trackbacks

 

        InputStream is=null;
        
try{
         is
=new FileInputStream(new File(filepath));         
         
return new StreamingResolution("application/vnd.ms-excel",is);
        }

        
catch(Exception e){
            
return null;
        }
其中"application/vnd.ms-excel指明返回的类型"
posted on 2008-03-12 15:45 KTOO 阅读(364) 评论(0)  编辑  收藏 所属分类: stripes

只有注册用户登录后才能发表评论。


网站导航: