当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: 当你在编译你的jsp、Servlet时,你的WebMod文件夹下会生成一个Tomcat 文件夹,打开这个文件夹下的Conf文件夹,打开ServerXXXX.xml文件 (XXXX对应与你的Tomcat所使用的端口)。
 

 

    摘要:java的资源文件一个设计目的就是方便的提供多语言支持,可是它本身对unicode的支持是十分搞笑的。很多人见到这样的资源文件都会觉得很熟悉吧: tongren.oa.system.user.usernameexists=\u7528\u6237\u540d\u5df2\u7ecf\u5b58\u5728\uff0c\u8bf7\u91cd\u65b0\u9009\u62e9\u4e00\u4e......
 ·struts+hibernate例子(原创)    »显示摘要«
    摘要:hibernate+struts结合简单例子作者:雨伞(geezer)2004/11/12上次介绍了hibernate的基本知识,现在我们将它用在实际项目开发中,我们用struts与它结合来做一个简单的应用。例子所需要的lib文件我都没有放进去,因为太大了(压缩以后近10m)论坛不让上传,呵呵,你们自己把struts与hibernate的jar文件放进去吧。配置环境:hibernate 2.1(上......


Jbuilder 中 Tomcat 数据源的配置方法
当你在编译你的jsp.servlet时,你的webmod文件夹下会生成一个tomcat 文件夹,打开这个文件夹下的conf文件夹,打开serverxxxx.xml文件 (xxxx对应与你的tomcat所使用的端口).你会发现第二行有一行注释:

 <!--this comment marks this file as generated, so it may be deleted and regenerated at any time. to preserve manual changes to this file, delete this comment.-->

【程序编程相关:PHP 的 MySQL 操作类,跟手册上

 去掉这行注释,然后在此文件中的标记间配置一个数据源,类似与以下形式: 【推荐阅读:网页中控制是否打印元素的两种方法

【扩展信息:如何在UNIX下实现COM组件的运行环境

  

             

         

* 此例采用的是oracle 9i 的 jdbcdriver ,请根据你的数据库系统选择相应的数据库驱动与url字符串

在你的web.xml 中添加以下代码:


...   下一页
 ·access out of range    »显示摘要«
    摘要:suppose onelinetext is a stringdon´t forget to check the index or it could be out of range! lenthg checking must performe at first rather than access the char in the string or the string will be......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE