![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
sunsg1014
我微笑。在任何我难过或者快乐的时候,我只剩下微笑。
展开
-
AJAX核心三部曲
//创建对象function createXMLHttpRequest(){if(window.ActiveXObject){xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); }else if(window.XMLHttpRequest){xmlHttp = new XMLHttpRequest(); }}//前台界面事件调用的函数function原创 2009-09-15 16:39:00 · 335 阅读 · 0 评论 -
Struts+Hibernate+Spring结合
===============================================struts和spring框架结合配置=============================================要将Spring作为Struts的一个插件来使用,在struts-config.xml文件中加入如下配置:在Web.xml中通过下面的方式加载Spring contex转载 2009-09-15 16:35:00 · 341 阅读 · 0 评论 -
JAVA定时器
======================================================定时器========================================================= java.util.Timer timer; timer = new Timer(true); timer.schedule(new TimerTask(){转载 2009-09-15 16:37:00 · 350 阅读 · 0 评论 -
Tomcat连接池配置
/------------------------------------连接池配置(tomcat/wed.xml)-----------------------------------------------------/ maxWait="10000" maxIdle="20" maxActive="20" username="yuxing" password="yuxing" driver原创 2009-09-15 16:38:00 · 344 阅读 · 0 评论