我这里到是有不少,不知道你需要哪些功能的。
不过,我觉得有很多Bean离开了原来的场合用出并不是很大。
最好还是自己去定制。

解决方案 »

  1.   

    我主要想实现一个关于文件上传方面的组件,不知你是否能帮助我或者指点一二,谢谢。
    另外我看到你发的招聘信息,我也很想加入你们的联盟,因为托普的名气也是不小的,但是由于种种原因我去不了,不知你们对于网络兼职是否有兴趣,若有请联系:[email protected]
      请先帮我把问题解决了好吗,谢谢!!!
      

  2.   

    不好意思,昨天晚上回家太晚了,我没有时间给你回复,不好意思,明天我还要做一个讲座,只能明天晚上了。Sorry!
      

  3.   

    文件上传有几种:
    1、上传后直接放在数据库中;(我没有做过)
    2、将路径存放在数据库中,然后再使用的时候通过路径去查找。(我做过)
    3、我就不知道还有没有别的方法了。
    我给你第二种的基本程序:
    public String imgPath="#"; //web path
    private String img2Path=""; //physical path
    /**
       Return the physical path of img file.
       @return String of the path
    */
    public String getImgPath(){
    return img2Path;
    }/**
       Insert the file name of this product img file.
       @param prrfNbr The Product key word.
       @param imgname The img file name.
       @return Void
    */
    public void upImg(int prrfNbr,String imgname)
    {
    String strSql="UPDATE " +strTable+ " SET PRFULL='" + imgname + "' WHERE PRRFNBR=" + prrfNbr;
    try
    {
    PreparedStatement sqlStatement = conSql.prepareStatement(strSql);
    sqlStatement.executeUpdate();
    }
    catch(SQLException e)
    {
    strError=e.getMessage();
    }
    }
      

  4.   

    用IBM的WEBSPHERE可以给你生成一大堆,而且注释非常详细。