摘要:
the asp.net view state
dino esposito
download the code for this article: cuttingedge0302.exe (39kb)
i n asp.net pages, the view state represents the state of the page when it was last ......
摘要:流mini驱动开发指南(选自ddk联机文档)
——翻译:codewarrior@hs5
本节详细讨论了已经过时的stream.sys class driver。随着microsoft windows xp的正式发布,microsoft建议硬件制造商考虑使用下一代class模型——avstream——来开发新的,非音频多媒体驱动程序。相关细节可参看《avstream overview》一章。microsoft现在只对stream.sys提供基本的支持。如......
如何在Struts 数据库应用程序中实现记录的添加(续)上一页 ...
//</createsql>
if (con.isclosed()) { 【相关文章:
老板和职员的矛盾】
try { 【扩展阅读:
Java学习资源推荐(书籍和网站)】
} 【扩展信息:
XPCOM--LINUX下的组件开发技术】
throw new illegalstateexception("error.unexpected");
//用sql server请加入下行:
con.setautocommit(true);
//sql server
ps = con.preparestatement(sql);
//<create>
ps.setint(1,m_dblist.get序号());
ps.setstring(2,m_dblist.get姓名());
ps.setstring(3,m_dblist.get备注());
//</create>
if (ps.executeupdate() != 1) {
throw new sqlexception ("error.create.dblist");
}
} catch (sqlexception e) {
e.printstacktrace();
throw new runtimeexception("error.unexpected");
} finally {
try {
if (ps != null)
ps.close();
} catch (sqlexception e) {
e.printstacktrace();
throw new runtimeexception("error.unexpected");
}
}
}
省略
}
dblistaction.java文件:
。。。。。。。。。。(省略)
public final class dblistaction extends action
{
// 变量定义:
private log log = logfactory.getlog("org.apache.struts.webapp.example");
private connectionpool pool;
public dblistaction() {...
下一页 摘要:
三、开始着手编写stream minidriver
设计stream class driver的主要目标,就是处理两个工作,一是处理操作系统,操作系统包含了对复杂的对多处理器的支持,二就是对内核流进行支持。这样minidriver只需要对它必须执行的,与设备相关的操作进行处理即可。class driver为minidriver分配内存空间,对minidriver可能用到的nt内核资源进行登记,并(随意地)处理同步问题。
class drive......