posts - 23, comments - 22, trackbacks - 0, articles - 9
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

09 2005 档案

摘要: <jsp:setProperty>与<jsp:getProperty>标记是和JavaBean一起协作,用来设置和获取JavaBean的属性。 <jsp:setProperty> 1.<jsp:setProperty name="beanname" property="*"> 示例:<jsp:setProperty name="exbean" ...阅读全文

posted @ 2005-09-25 13:50 雨叶秋寒 阅读(189) | 评论 (0) 编辑 |

摘要: 看下面这段程序,首先设置buffer="1kb" autoFlush="false",然后向页面中输出970个“C” 。<%@pagelanguage="java"buffer="1kb"autoFlush="false"%><html><head></head><body><%for(inti=0;i<...阅读全文

posted @ 2005-09-22 23:20 雨叶秋寒 阅读(977) | 评论 (2) 编辑 |

摘要: out对象被封装为javax.servlet.jsp.jspWriter接口,通过调用pageContext.getOut()方法可以获取out对象。1.public abstract void clear()清除缓冲区中的内容,不将数据发送至客户端。2.public abstract void clearBuffer()将数据发送至客户端后,清除缓冲区中的内容。3.public abstarct...阅读全文

posted @ 2005-09-22 22:22 雨叶秋寒 阅读(2218) | 评论 (0) 编辑 |

摘要: 第一种:include指令:当JSP转换成Servlet时引入指定文件 <%@pagecontentType="text/html;charset=GB2312"language="java"errorPage=""%> <%@includefile="head.jsp"%> <%@includefile="body.jsp"%> <%@includefi...阅读全文

posted @ 2005-09-20 23:55 雨叶秋寒 阅读(1344) | 评论 (0) 编辑 |

摘要: 工作中遇到的问题,查阅些资料发现控制TextBox的ReadOnly属性与控制其它属性有些不同:示例如下:<scriptLanguage="JavaScript">functionorder_readonly(){ if(document.form_color.order_false.checked) { document.getElementById("order").readOnl...阅读全文

posted @ 2005-09-12 15:40 雨叶秋寒 阅读(406) | 评论 (2) 编辑 |

摘要: 方法1.vbscript DimIESetIE=CreateObject("InternetExplorer.Application")ie.navigate("http://slist.cnblogs.com/")ie.visible=1SetIE=Nothing方法2.Jscriptvarhtml="";html+="<html><head><title>运...阅读全文

posted @ 2005-09-07 12:04 雨叶秋寒 阅读(702) | 评论 (0) 编辑 |

posted @ 2005-09-05 09:20 雨叶秋寒 阅读(334) | 评论 (0) 编辑 |

posted @ 2005-09-01 11:14 雨叶秋寒 阅读(321) | 评论 (0) 编辑 |

posted @ 2005-09-01 10:15 雨叶秋寒 阅读(190) | 评论 (0) 编辑 |