摘要: 1.创建表以及各种约束drop table bookinfo;create table bookinfo(bookid int primary key, --主键约束bookname varchar2(100) not null, --非空约束publish varchar2(100),price decimal,remark varchar2(4000) default '备注信息', --默认值constraint un_bookname unique (bookname), --唯一性约束constraint ck_price check ( price <=100 阅读全文
posted @ 2012-03-27 12:24 shuaisam 阅读(133) 评论(0) 推荐(0)
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf- 阅读全文
posted @ 2012-03-27 12:23 shuaisam 阅读(229) 评论(0) 推荐(0)
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf- 阅读全文
posted @ 2012-03-27 12:22 shuaisam 阅读(848) 评论(0) 推荐(0)
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf- 阅读全文
posted @ 2012-03-27 12:18 shuaisam 阅读(4754) 评论(0) 推荐(1)
摘要: 1.右击工程,选中build path .->configure build path...2.选中libraries 选项页,点击Add Libray...按钮3.选中 Server Runtime , 然后Next>4.选中要载入的server,然后 finish 阅读全文
posted @ 2012-03-27 12:06 shuaisam 阅读(5389) 评论(0) 推荐(0)
摘要: java 自定义标签(二)2012-03-20 13:49继承SimpleTagSupport类实现 DynamicAttributes接口主要步骤1.java类package MyTag;import java.io.IOException;import java.util.HashMap;import java.util.List;import java.util.Map;import javax.servlet.jsp.JspException;import javax.servlet.jsp.JspWriter;import javax.servlet.jsp.PageContext; 阅读全文
posted @ 2012-03-27 12:05 shuaisam 阅读(214) 评论(0) 推荐(0)
摘要: 继承TagSupport 类实现方法主要步骤:1.java类package MyTag;import java.io.IOException;import javax.servlet.jsp.JspException;import javax.servlet.jsp.JspWriter;import javax.servlet.jsp.tagext.TagSupport;public class Tag extends TagSupport {private int pageSize;public int getPageSize() {return pageSize;}public void 阅读全文
posted @ 2012-03-27 12:05 shuaisam 阅读(271) 评论(0) 推荐(0)
摘要: 1.代码<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset= 阅读全文
posted @ 2012-03-27 12:01 shuaisam 阅读(172) 评论(0) 推荐(0)
摘要: 1.html code<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; c 阅读全文
posted @ 2012-03-27 12:01 shuaisam 阅读(134) 评论(0) 推荐(0)
摘要: 1.代码<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset= 阅读全文
posted @ 2012-03-27 12:00 shuaisam 阅读(241) 评论(0) 推荐(0)