为什么要在struts-config中配置呢?应该是在hibernate.cfg.xml中配置datasource的。如果你暂时还没用hibernate,那么你就在JAVA文件中写个最简单的连接,struts只是控制view层的,不涉及数据库的操作的,也不提供这个支持。至于怎样在JAVA中连ORCAL,网上的例子多得是http://www.baidu.com/baidu?cl=3&tn=baidu&word=java%20连接oracle

解决方案 »

  1.   

    我顶!中国IT人才网(    http://www.itbbs.net.cn    )!中国IT人才网(    http://www.itbbs.net.cn    )!中国IT人才网(    http://www.itbbs.net.cn    )!中国IT人才网(    http://www.itbbs.net.cn    )!中国IT人才网(    http://www.itbbs.net.cn    )!中国IT人才网(    http://www.itbbs.net.cn    )!中国IT人才网(    http://www.itbbs.net.cn    )!中国IT人才网(    http://www.itbbs.net.cn    )!中国IT人才网(    http://www.itbbs.net.cn    )!中国IT人才网(    http://www.itbbs.net.cn    )!中国IT人才网(    http://www.itbbs.net.cn    )!
    免费招聘、求职。IT人工作的天堂。希望能够为大家所用。