- 博客(6)
- 收藏
- 关注
转载 JTree用法及JTree使用经验总结(转)
import java.awt.Dimension;import java.awt.Color;import javax.swing.JFrame;import javax.swing.JPanel;import javax.swing.JScrollPane;import javax.swing.JTree;import javax.swing.BoxLayout;import javax.s
2008-09-29 13:51:00
841
原创 数据库设计的外键约束问题
我们在做数据库设计的时候,往往为了保证数据库的数据完整性,会有一些在数据库层面上定义的约束。这些约束有检查约束、非空约束、唯一约束、主键约束、外键约束等。在这些约束里面,前面的几个都非常容易理解,也易于使用;但是对于外键约束,理解起来并不难,但是使用好了,确是不容易。下面简要回顾一下上述几个约束的相关知识。 检查约束:也就是说在定义字段的时候,定义一个取值范围,当发生insert或
2008-04-09 16:22:00
5988
4
原创 JSP URL中文亂碼問題~~
JSP端:String encode=URLEncoder.encode(temp2);"> SERVLET或STRUTS:String aclass=new String(request.getParameter("class").getBytes("ISO8859_1"),"gb2312");
2008-03-31 17:04:00
750
原创 struts 中文乱码问题
struts 中文乱码问题 写一个适配器 /* * SetCharacterEncodingFilter.java * * Created on 2007年8月5日, 下午2:47 * * To change this template, choose
2008-03-30 00:32:00
458
原创 FCKeditor编辑器
首先下载相关文件 FCKeditor_2.3.2.zip http://prdownloads.sourceforge.net/fckeditor/FCKeditor_2.3.2.zip?download FCKeditor-2.3 (for java) http://nchc.dl.sourceforge.net/sourceforge/fckeditor
2008-03-30 00:32:00
557
原创 JSP中实现MD5加密
*** 类名: MD5Digest* 说明: 用来进行密码加密的md5公用参数* 编写日期: 2001/03/05* 修改者: * 修改信息: * @author edgarlo edgarlo@china.com* @version 1.0*/import java.security.MessageDigest;import java.security.No
2008-03-19 02:47:00
647
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅