java
yxuezhang
这个作者很懒,什么都没留下…
展开
-
学习java(一)——An Example Using Initialization Parameters
This example shows the servlet reads the message and the repeats initialization parameters when initialiazedimport javax.servlet.http.*;import javax.servlet.*;import java.io.*;public class ShowMessa原创 2006-09-06 15:42:00 · 804 阅读 · 0 评论 -
学习java(二)-----关于jdbc连接的"擦屁股"问题
今天在某个blog 上看到一篇关于jdbc的数据库连接,当执行完后关闭的问题,被作者形容为"擦屁股",虽然有些不雅,但是给我印像颇深,而且这个问题很常见,所以将此记录下来:当我们写java的数据库连接时,以连接到SQL Server 为例, Class.forname("net.sourceforge.jtds.jdbc.Driver");Connection con = Driv原创 2006-09-07 22:14:00 · 842 阅读 · 0 评论 -
J2EE study(一)-----J2EE Foundation
J2EE contains four important technology areas: The Java XML technology for developing applications that process XML document and implements web services components: The Java API原创 2006-10-03 21:59:00 · 705 阅读 · 0 评论 -
J2EE study(二)-----J2EE Components
A J2EE Components is a self-contained functional software unit that is assembled into to a J2EE application with its related classes and files and that communicates with other components.The J2EE sp原创 2006-10-04 19:36:00 · 911 阅读 · 0 评论 -
J2EE study(三)----J2EE Containers
以前一直不知道Container和component有什么不同?一直以为Container和Component 是一样东西!现在知道这两个东西不是一个东西!对Component 的介绍见J2EE study(三)----J2EE Containers现在对Comtainer介绍一下:Containers are the interface between a component and原创 2006-10-06 23:34:00 · 793 阅读 · 0 评论 -
在写junit test 的时候出现的java.lang.UnsupportedClassVersionError问题
今天在写为一些project 写 一些junit test 的时候,出现下面的异常:java.lang.UnsupportedClassVersionError: moneytest/MoneyTest (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Metho原创 2006-10-19 15:35:00 · 3424 阅读 · 1 评论