这是一个以JSP、servlet、JavaBean实现MVC三层架构的简单例子,使用XML作为数据库连接的配置文件。使用环境:eclipse_3.2、myeclipse_5.1、jdk_6.0、tomcat_5.5、sql server 2005---------------------------------------------------- 有任何疑问或意见,欢迎到qq群44493666交流
The J2EE(TM) Platform has become the technology of choice for developing professional e-commerce applications, interactive Web sites, and Web-enabled applications and services. Servlet and JSP(TM) technology is the foundation of this platform: it pr
MVC结构和源代码 一、连接类的定义: using System.Data; using System.Data.SqlClient; namespace TextbookManageSystem { class ClsCon { public SqlConnection Con; public ClsCon () //建立与数据库的连接 { Con = new SqlConnection("Server=.;database=TextBookManageSystem;uid=sa;pwd=s