??xml version="1.0" encoding="utf-8" standalone="yes"?>久久综合九色综合久99,中文字幕精品一区二区三区精品,婷婷中文字幕一区三区http://www.aygfsteel.com/GavinMiao/我在仰望Qjava之上zh-cnTue, 17 Jun 2025 06:50:31 GMTTue, 17 Jun 2025 06:50:31 GMT60~码至高法则-高内聚低耦合http://www.aygfsteel.com/GavinMiao/archive/2019/09/11/434613.htmlGavinMiaoGavinMiaoWed, 11 Sep 2019 07:59:00 GMThttp://www.aygfsteel.com/GavinMiao/archive/2019/09/11/434613.htmlhttp://www.aygfsteel.com/GavinMiao/comments/434613.htmlhttp://www.aygfsteel.com/GavinMiao/archive/2019/09/11/434613.html#Feedback0http://www.aygfsteel.com/GavinMiao/comments/commentRss/434613.htmlhttp://www.aygfsteel.com/GavinMiao/services/trackbacks/434613.html阅读全文

GavinMiao 2019-09-11 15:59 发表评论
]]>
Jgoodies FormLayout 结http://www.aygfsteel.com/GavinMiao/archive/2012/09/29/388827.htmlGavinMiaoGavinMiaoSat, 29 Sep 2012 03:29:00 GMThttp://www.aygfsteel.com/GavinMiao/archive/2012/09/29/388827.htmlhttp://www.aygfsteel.com/GavinMiao/comments/388827.htmlhttp://www.aygfsteel.com/GavinMiao/archive/2012/09/29/388827.html#Feedback0http://www.aygfsteel.com/GavinMiao/comments/commentRss/388827.htmlhttp://www.aygfsteel.com/GavinMiao/services/trackbacks/388827.html一、列与行的参数都׃个部分组成:(x)寚w方式、固定尺寸、调整方式?
1.寚w方式Q?br />1Q列寚w有left, center, right, fill.默认fill
2Q行寚w有:(x)top, center, bottom, fill. 其中fill表示填充x个区域。默认center?br />2.固定寸Q?br />pref表示preferred sizeQ适当大小Q即首选尺寸大?br />min表示minimum sizeQ?br />dlu 表示dialog unitsQ?br />px, pt, in, mm, cmQ分别表CPixel, Points, Inches, Millimeter, Centimeter?br />3. 调整方式:
二、CellConstraintsQ?br />cc.xywh(3, 1, 3, 1)Q表C?列,1行,colspan=3Qrowspan=1
三、FormLayoutQ?br />  1.FormLayout layout = new FormLayout(
   new ColumnSpec[]{
     FormSpecs.DEFAULT_COLSPEC,
     FormSpecs.GLUE_COLSPEC,
     FormSpecs.DEFAULT_COLSPEC,
     FormSpecs.GLUE_COLSPEC,
     FormSpecs.DEFAULT_COLSPEC,
     FormSpecs.GLUE_COLSPEC},
   new RowSpec[]{
     FormSpecs.DEFAULT_ROWSPEC,
     FormSpecs.GLUE_ROWSPEC,
     FormSpecs.DEFAULT_ROWSPEC,
     FormSpecs.GLUE_ROWSPEC,
     FormSpecs.DEFAULT_ROWSPEC,
     FormSpecs.GLUE_ROWSPEC
   }
  );
2.

FormLayout layout = new FormLayout( 
        "right:pref, 6dlu, 50dlu, 4dlu, center:50dlu", // columns
        "pref, 3dlu, pref, 3dlu, pref"); // rows   





参考文章:(x)
http://hi.baidu.com/lijunwyf/item/a18d95f719ff01da6225d26f

GavinMiao 2012-09-29 11:29 发表评论
]]>
Vector见http://www.aygfsteel.com/GavinMiao/archive/2012/09/24/388406.htmlGavinMiaoGavinMiaoMon, 24 Sep 2012 00:49:00 GMThttp://www.aygfsteel.com/GavinMiao/archive/2012/09/24/388406.htmlhttp://www.aygfsteel.com/GavinMiao/comments/388406.htmlhttp://www.aygfsteel.com/GavinMiao/archive/2012/09/24/388406.html#Feedback0http://www.aygfsteel.com/GavinMiao/comments/commentRss/388406.htmlhttp://www.aygfsteel.com/GavinMiao/services/trackbacks/388406.html例子Q?br />import java.util.*;
public class TestVector{
 public static void main(String[] args){
  Vector v = new Vector();
  v.add(null);
  v.add(new Integer(1));
  v.add("123");
  
  for(Enumeration e = v.elements();e.hasMoreElements();){
   System.out.println(e.nextElement());
  }
  v.insertElementAt("insert",2);
  v.setElementAt("insert",0);
  
  for(Enumeration e = v.elements();e.hasMoreElements();){
   System.out.println(e.nextElement());
  }
  
 }
}

l果Q?br />null
1
123

insert
1
insert
123
 
l论Q?br />vector中可以放入nullQ?br />vector可以攑օ不同cd的对象;
vector是同步的定w自增长的向量Q?br />


GavinMiao 2012-09-24 08:49 发表评论
]]>
火R订好办法http://www.aygfsteel.com/GavinMiao/archive/2012/09/18/387954.htmlGavinMiaoGavinMiaoMon, 17 Sep 2012 23:55:00 GMThttp://www.aygfsteel.com/GavinMiao/archive/2012/09/18/387954.htmlhttp://www.aygfsteel.com/GavinMiao/comments/387954.htmlhttp://www.aygfsteel.com/GavinMiao/archive/2012/09/18/387954.html#Feedback0http://www.aygfsteel.com/GavinMiao/comments/commentRss/387954.htmlhttp://www.aygfsteel.com/GavinMiao/services/trackbacks/387954.html1.北京铁\局Q?br />直属?5个:(x)北京?/a>?a target="_blank">北京西站?a target="_blank">天|?/a>?a target="_blank">天|西站?a target="_blank">丰台?/a>?a target="_blank">丰台西站?a target="_blank">南仓?/a>?a target="_blank">塘沽?/a>?a target="_blank">唐山?/a>?a target="_blank">矛_庄站?a target="_blank">矛_庄南?/a>、邯郸站?a target="_blank">x?/a>、北京南站、天z西站?br />2.郑州铁\局Q?br />直属车站11个:(x)郑州站、郑州北站、郑州东站、洛阳站?a target="_blank">C站、开站、商丘站?a target="_blank">月山?/a>、长d站、长ȝ?br />二?br />北京?sh)话订票H门Q?、机打Q;2.用手机加区号打!北京铁\局内Q如唐山区号Q打0315-95105105,手机?5105105的有效区P(x)沛_省邯?310矛_?311保定0312张家?313承d0314唐山0315廊坊0316沧州0317衡水0318邢台0319U皇?335׃德州0534px0353天|022。订好之后可以在北京取票Q!

GavinMiao 2012-09-18 07:55 发表评论
]]>
异常U篏Qorg.hibernate.StaleStateExceptionhttp://www.aygfsteel.com/GavinMiao/archive/2012/04/18/375115.htmlGavinMiaoGavinMiaoWed, 18 Apr 2012 07:33:00 GMThttp://www.aygfsteel.com/GavinMiao/archive/2012/04/18/375115.htmlhttp://www.aygfsteel.com/GavinMiao/comments/375115.htmlhttp://www.aygfsteel.com/GavinMiao/archive/2012/04/18/375115.html#Feedback0http://www.aygfsteel.com/GavinMiao/comments/commentRss/375115.htmlhttp://www.aygfsteel.com/GavinMiao/services/trackbacks/375115.html
ERROR - Exception executing batch: 
org.hibernate.StaleStateException: Batch update returned unexpected row count fr
om update [0]; actual row count: 0; expected: 1

ERROR - Could not synchronize database state with session
org.hibernate.StaleStateException: Batch update returned unexpected row count fr
om update [0]; actual row count: 0; expected: 1


不注意的话,q真的有Ҏ(gu)所适从QBatch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
q个异常是由于主键设|ؓ(f)自增长,而在我们插入记录的时候设|了(jin)ID的值导致的。看下我的Hibernate映射文g中ID的定义:(x)

参考文章:(x)http://hi.baidu.com/shirdrn/blog/item/adec1e82d067ddb86c81191c.html


GavinMiao 2012-04-18 15:33 发表评论
]]>
java.lang.IllegalStateException: Cannot forward after response has been committedhttp://www.aygfsteel.com/GavinMiao/archive/2012/04/14/374132.htmlGavinMiaoGavinMiaoSat, 14 Apr 2012 01:08:00 GMThttp://www.aygfsteel.com/GavinMiao/archive/2012/04/14/374132.htmlhttp://www.aygfsteel.com/GavinMiao/comments/374132.htmlhttp://www.aygfsteel.com/GavinMiao/archive/2012/04/14/374132.html#Feedback0http://www.aygfsteel.com/GavinMiao/comments/commentRss/374132.htmlhttp://www.aygfsteel.com/GavinMiao/services/trackbacks/374132.html面?00.
原因Q?br />在request.getRequestDispatcher("/success.html").forward(request, response);
后面q有未执行的代码Q但是已l提交了(jin)响应?img src ="http://www.aygfsteel.com/GavinMiao/aggbug/374132.html" width = "1" height = "1" />

GavinMiao 2012-04-14 09:08 发表评论
]]>
UML初接?/title><link>http://www.aygfsteel.com/GavinMiao/archive/2012/04/13/374051.html</link><dc:creator>GavinMiao</dc:creator><author>GavinMiao</author><pubDate>Fri, 13 Apr 2012 03:34:00 GMT</pubDate><guid>http://www.aygfsteel.com/GavinMiao/archive/2012/04/13/374051.html</guid><wfw:comment>http://www.aygfsteel.com/GavinMiao/comments/374051.html</wfw:comment><comments>http://www.aygfsteel.com/GavinMiao/archive/2012/04/13/374051.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/GavinMiao/comments/commentRss/374051.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/GavinMiao/services/trackbacks/374051.html</trackback:ping><description><![CDATA[1.UML:unified modeling Language(l一建模语言)<br />2.草图与蓝图:(x)<br />前者指Q手工绘制的、规范度较低的UML模型Q?br />后者指Qcase工具l制的正式的、规范的UML模型Q?br />3.不同可视性的W号Q?br />“+”Qpublic   “#”Qprotected  “-”Qprivate  “~”Qpackage<br />4.UML主要包含三种图:(x)?rn)态图、动态图、物理图<br />5.兌关系Q用来表CZ个对象持有另外一个对象的引用Q或是调用另外一个对象的Ҏ(gu)<br />6.cdQ?br /><img src="http://www.aygfsteel.com/images/blogjava_net/gavinmiao/cd.png" width="798" height="184" alt="" /><br /><br />7.cd之间的关联:(x)<br />—▷▷  —>持有<img src ="http://www.aygfsteel.com/GavinMiao/aggbug/374051.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/GavinMiao/" target="_blank">GavinMiao</a> 2012-04-13 11:34 <a href="http://www.aygfsteel.com/GavinMiao/archive/2012/04/13/374051.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>面试题(互联|网上商城行业)(j)http://www.aygfsteel.com/GavinMiao/archive/2012/04/12/374017.htmlGavinMiaoGavinMiaoThu, 12 Apr 2012 14:39:00 GMThttp://www.aygfsteel.com/GavinMiao/archive/2012/04/12/374017.htmlhttp://www.aygfsteel.com/GavinMiao/comments/374017.htmlhttp://www.aygfsteel.com/GavinMiao/archive/2012/04/12/374017.html#Feedback0http://www.aygfsteel.com/GavinMiao/comments/commentRss/374017.htmlhttp://www.aygfsteel.com/GavinMiao/services/trackbacks/374017.html阅读全文

GavinMiao 2012-04-12 22:39 发表评论
]]>
不用临时变量交换两个?/title><link>http://www.aygfsteel.com/GavinMiao/archive/2012/04/12/373932.html</link><dc:creator>GavinMiao</dc:creator><author>GavinMiao</author><pubDate>Thu, 12 Apr 2012 03:27:00 GMT</pubDate><guid>http://www.aygfsteel.com/GavinMiao/archive/2012/04/12/373932.html</guid><wfw:comment>http://www.aygfsteel.com/GavinMiao/comments/373932.html</wfw:comment><comments>http://www.aygfsteel.com/GavinMiao/archive/2012/04/12/373932.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/GavinMiao/comments/commentRss/373932.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/GavinMiao/services/trackbacks/373932.html</trackback:ping><description><![CDATA[Ҏ(gu)1Q?br /><div><div><span style="white-space:pre"> </span>a=a^b;</div><div><span style="white-space:pre"> </span>b=a^b;</div><div><span style="white-space:pre"> </span>a=a^b;</div></div><div>Ҏ(gu)2Q?br /><div><div><span style="white-space:pre"> </span>a=a+b;</div><div><span style="white-space:pre"> </span>b=a-b;</div><div><span style="white-space:pre"> </span>a=a-b;</div></div><div></div></div><img src ="http://www.aygfsteel.com/GavinMiao/aggbug/373932.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/GavinMiao/" target="_blank">GavinMiao</a> 2012-04-12 11:27 <a href="http://www.aygfsteel.com/GavinMiao/archive/2012/04/12/373932.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>易宝支付面试题(Ҏ(gu)|上ȝQ?/title><link>http://www.aygfsteel.com/GavinMiao/archive/2012/04/11/373780.html</link><dc:creator>GavinMiao</dc:creator><author>GavinMiao</author><pubDate>Wed, 11 Apr 2012 03:32:00 GMT</pubDate><guid>http://www.aygfsteel.com/GavinMiao/archive/2012/04/11/373780.html</guid><wfw:comment>http://www.aygfsteel.com/GavinMiao/comments/373780.html</wfw:comment><comments>http://www.aygfsteel.com/GavinMiao/archive/2012/04/11/373780.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/GavinMiao/comments/commentRss/373780.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/GavinMiao/services/trackbacks/373780.html</trackback:ping><description><![CDATA[1.public class TestKnowleage5 {<div><div><span style="white-space:pre"> </span>public static void main(String[] args){</div><div><span style="white-space:pre"> </span>String strValue = "ABCDEFG";</div><div><span style="white-space:pre"> </span>strValue.substring(3);</div><div><span style="white-space:pre"> </span>System.out.println("result1"+strValue);</div><div><span style="white-space:pre"> </span>strValue.concat("123");</div><div><span style="white-space:pre"> </span>System.out.println("result2"+strValue);</div><div><span style="white-space:pre"> </span>String value = new String("ABCDEFG");</div><div><span style="white-space:pre"> </span>System.out.println(strValue==value);</div><div><span style="white-space:pre"> </span>}</div><div>}<br /><br />q行l果Q?br /><div><div>result1ABCDEFG</div><div>result2ABCDEFG</div><div>false<br />2.public class Test{<br />    public static void main(String[] args){<br />        <span style="white-space:pre"> </span>int x = 100;<div><div><span style="white-space:pre"> </span>int y = 200;</div><div><span style="white-space:pre"> </span>if(x == y)</div><div><span style="white-space:pre"> </span>System.out.println("not equal");</div><div><span style="white-space:pre"> </span>else</div><div><span style="white-space:pre"> </span>System.out.println("equal");</div></div>    }<br />}<br /><br />q行l果Q?br />equal<br /><br />3.public class TestKnowleage5 {<div><div><span style="white-space:pre"> </span>public static void main(String[] args){</div><div><span style="white-space: pre; "> </span>try{</div><div><span style="white-space:pre"> </span>new TestKnowleage5().methodA(5);</div><div><span style="white-space:pre"> </span>}catch(IOException e){</div><div><span style="white-space:pre"> </span>System.out.println("caught IOException");</div><div><span style="white-space:pre"> </span>}catch(Exception e){</div><div><span style="white-space:pre"> </span>System.out.println("caught Exception");</div><div><span style="white-space:pre"> </span>}finally{</div><div><span style="white-space:pre"> </span>System.out.println("no Exception");</div><div><span style="white-space:pre"> </span>}</div><div><span style="white-space:pre"> </span>}</div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span>public void methodA(int i) throws IOException{</div><div><span style="white-space:pre"> </span>if(i%2 != 0){</div><div><span style="white-space:pre"> </span>throw new IOException("methodA IOException");</div><div><span style="white-space:pre"> </span>}</div><div><span style="white-space:pre"> </span>}</div><div>}</div></div><br />q行l果Q?br /><div><div>caught IOException</div><div>no Exception</div></div><br />4.public class TestKnowleage5 {<div><div></div><div><span style="white-space:pre"> </span>static boolean isTrue(){</div><div><span style="white-space:pre"> </span>System.out.println("isTrue");</div><div><span style="white-space:pre"> </span>return true;</div><div><span style="white-space:pre"> </span>}</div><div><span style="white-space:pre"> </span>static boolean isFalse(){</div><div><span style="white-space:pre"> </span>System.out.println("isFalse");</div><div><span style="white-space:pre"> </span>return false;</div><div><span style="white-space:pre"> </span>}<span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span>public static void main(String[] args){</div><div><span style="white-space:pre"> </span>if(isTrue() || isFalse()){</div><div><span style="white-space:pre"> </span>System.out.println("|| operate return true");</div><div><span style="white-space:pre"> </span>}</div><div><span style="white-space:pre"> </span>if(isFalse() & isTrue()){</div><div><span style="white-space:pre"> </span>System.out.println("& operate return true");</div><div><span style="white-space:pre"> </span>}</div><div><span style="white-space:pre"> </span>}</div><div></div><div>}</div></div><br />q行l果Q?br /><div><div>isTrue</div><div>|| operate return true</div><div>isFalse</div><div>isTrue</div></div><br />5.public class TestKnowleage5{<div><div><span style="white-space:pre"> </span>public static void main(String args[]){</div><div><span style="white-space:pre"> </span>MyThread t = new MyThread();</div><div><span style="white-space:pre"> </span>t.run();</div><div><span style="white-space:pre"> </span>t.start();</div><div><span style="white-space:pre"> </span>System.out.println("A");</div><div><span style="white-space:pre"> </span>}</div><div>}</div><div></div><div>class MyThread extends Thread{</div><div><span style="white-space:pre"> </span>public void run(){</div><div><div><div><span style="white-space:pre"> </span>try{</div><div><span style="white-space:pre"> </span>Thread.currentThread().sleep(3000);</div><div><span style="white-space:pre"> </span>}catch(InterruptedException e){</div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span>}</div></div></div><div><span style="white-space:pre"> </span>System.out.println("B");</div><div><span style="white-space:pre"> </span>}</div><div>}</div></div>q行l果Q?br />BBA?br />BAB<br />6.class A{<div><div><span style="white-space:pre"> </span>void fun1(){</div><div><span style="white-space:pre"> </span>System.out.println(fun2());</div><div><span style="white-space:pre"> </span>}</div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span>int fun2(){</div><div><span style="white-space:pre"> </span>return 123;</div><div><span style="white-space:pre"> </span>}</div><div>}</div><div>public class TestKnowleage5  extends A{</div><div><span style="white-space:pre"> </span>int fun2(){</div><div><span style="white-space:pre"> </span>return 456;</div><div><span style="white-space:pre"> </span>}</div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span>public static void main(String[] args){</div><div><span style="white-space:pre"> </span>A a;</div><div><span style="white-space:pre"> </span>TestKnowleage5 b = new TestKnowleage5();</div><div><span style="white-space:pre"> </span>b.fun1();</div><div><span style="white-space:pre"> </span>a = b;</div><div><span style="white-space:pre"> </span>a.fun1();</div><div><span style="white-space:pre"> </span>}</div><div>}</div></div><br />q行l果Q?br /><div><div>456</div><div>456</div></div>7.class A{</div><div><div><span style="white-space:pre"> </span>int val;</div><div></div><div><span style="white-space:pre"> </span>public int getVal() {</div><div><span style="white-space:pre"> </span>return val;</div><div><span style="white-space:pre"> </span>}</div><div></div><div><span style="white-space:pre"> </span>public void setVal(int val) {</div><div><span style="white-space:pre"> </span>this.val = val;</div><div><span style="white-space:pre"> </span>}</div><div><span style="white-space:pre"> </span></div><div>}</div><div>public class TestKnowleage5{</div><div></div><div><span style="white-space:pre"> </span>public static void main(String[] args){</div><div><span style="white-space:pre"> </span>A data = new A();</div><div><span style="white-space:pre"> </span>ArrayList list = new ArrayList();</div><div><span style="white-space:pre"> </span>for(int i=100;i<103;i++){</div><div><span style="white-space:pre"> </span>data.setVal(i);</div><div><span style="white-space:pre"> </span>list.add(data);</div><div><span style="white-space:pre"> </span>}</div><div><span style="white-space:pre"> </span>int j = 0;</div><div><span style="white-space:pre"> </span>while(j<list.size()){</div><div><span style="white-space:pre"> </span>A tmp = (A)list.get(j);</div><div><span style="white-space:pre"> </span>System.out.println("list("+j+")="+tmp.getVal());</div><div><span style="white-space:pre"> </span>j++;</div><div><span style="white-space:pre"> </span>}</div><div><span style="white-space:pre"> </span>}</div><div>}<br /><br />q行l果Q?br /><div><div>list(0)=102</div><div>list(1)=102</div><div>list(2)=102</div></div><br />8.hibernate导入大量数据ӞZ(jin)避免内存中生大量对象,在编码时注意什么,如何去除Q?br /><br />9.视图与表的区?br />10.触发器有哪几U类?br />11.<div style="display: inline !important; ">事务操作有那几个步骤<br /></div>12.写出对应正则表达式:(x)<br />1Q?-6位字母或数字Q?br />[a-zA-Z0-9]{1,6}<br />2Q手机号Q只能是139?59开_(d)11位数字)(j)<br />1[35][9][0-9]{8}<br />13.字符串反转:(x)new StringBuilder(str).reverse().toString();<br />14.写程序:(x)1+2²+3²+...+n²<br />int func(int n){<br />    return n==1?1:func(n-1)+n*n<br />}<br /><br />15.写一个gq加载的单例模式Q?br />public class SingleTon{<br />    private static  SingleTon  instance = null;<br />    private SingleTon(){}<br />    public static SingleTon getInstance(){<br />        if(instance == null){<br />                synchronized(""){<br />                    if(instance == null){return new SingleTon();}<br />                }<br />        }<br />        return instance;<br />    }<br />}<br /><br />16.<div style="display: inline-block; "></div><span id="wmqeeuq" class="Apple-style-span" style="font-family: arial, 宋体, sans-serif; line-height: 24px; background-color: #ffffff; ">JSP?U内|对象:(x)</span><br />requestQ?div style="display: inline-block; "></div><span id="wmqeeuq" class="Apple-style-span" style="color: #6d6d6d; font-family: arial; font-size: 12px; line-height: 26px; background-color: #ffffff; ">HttpServletRequestcȝ实例Q?div style="display: inline-block; "></div></span><span id="wmqeeuq" class="Apple-style-span" style="font-family: arial, 宋体, sans-serif; line-height: 24px; background-color: #ffffff; ">客户端的h信息被封装在request对象?/span><br />responseQ?div style="display: inline-block; "></div><span id="wmqeeuq" class="Apple-style-span" style="font-family: arial, 宋体, sans-serif; line-height: 24px; background-color: #ffffff; ">HttpServletResponsecȝ实例Q?div style="display: inline-block; "></div></span><span id="wmqeeuq" class="Apple-style-span" style="font-family: arial, 宋体, sans-serif; line-height: 24px; background-color: #ffffff; ">response对象包含?jin)响应客戯求的有关信息Q但在JSP中很直接用到它?/span><br />outQ?div style="display: inline-block; "></div><span id="wmqeeuq" class="Apple-style-span" style="font-family: arial, 宋体, sans-serif; line-height: 24px; background-color: #ffffff; ">out对象是JspWritercȝ实例,是向客户端输出内容常用的对象</span><br />sessionQ?div style="display: inline-block; "></div><span id="wmqeeuq" class="Apple-style-span" style="font-family: arial, 宋体, sans-serif; line-height: 24px; background-color: #ffffff; ">session对象指的是客L(fng)与服务器的一ơ会(x)话,从客L(fng)q到服务器的一个WebApplication开始,直到客户端与服务器断开q接为止。它是HttpSessioncȝ实例</span><br />pageQ?div style="display: inline-block; "></div><span id="wmqeeuq" class="Apple-style-span" style="font-family: arial, 宋体, sans-serif; line-height: 24px; background-color: #ffffff; ">page对象是指向当前JSP面本nQ有点象cM的this指针Q它是java.lang.Objectcȝ实例</span><br />applicationQ?div style="display: inline-block; "></div><span id="wmqeeuq" class="Apple-style-span" style="font-family: arial, 宋体, sans-serif; line-height: 24px; background-color: #ffffff; ">ServletContextcȝ实例,<div style="display: inline-block; "></div></span><span id="wmqeeuq" class="Apple-style-span" style="font-family: arial, 宋体, sans-serif; line-height: 24px; background-color: #ffffff; ">application对象实现?jin)用户间数据的共享,可存攑օ局变量。它开始于服务器的启动Q直到服务器的关?/span><br />exceptionQ?div style="display: inline-block; "></div><span id="wmqeeuq" class="Apple-style-span" style="font-family: arial, 宋体, sans-serif; line-height: 24px; background-color: #ffffff; ">exception对象是一个例外对象,当一个页面在q行q程中发生了(jin)例外Q就产生q个对象。如果一个JSP面要应用此对象Q就必须把isErrorPage设ؓ(f)trueQ否则无法编译。他实际上是java.lang.Throwable的对?/span><br />pageContextQ?div style="display: inline-block; "></div><span id="wmqeeuq" class="Apple-style-span" style="font-family: arial, 宋体, sans-serif; line-height: 24px; background-color: #ffffff; ">pageContext对象提供?jin)对JSP面内所有的对象?qing)名字空间的讉KQ也是说他可以讉K到本|在的SESSIONQ也可以取本面所在的application的某一属性|他相当于面中所有功能的集大成者,它的本类名也叫pageContext</span><br />configQ?div style="display: inline-block; "></div><span id="wmqeeuq" class="Apple-style-span" style="font-family: arial, 宋体, sans-serif; line-height: 24px; background-color: #ffffff; ">config对象是在一个Servlet初始化时QJSP引擎向它传递信息用的,此信息包括Servlet初始化时所要用到的参数Q通过属性名和属性值构成)(j)以及(qing)服务器的有关信息Q通过传递一个ServletContext对象Q?/span><br />17.session和cookie的区别?<br />18.JDBC的操作步骤?<br /></div></div></div></div></div><img src ="http://www.aygfsteel.com/GavinMiao/aggbug/373780.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/GavinMiao/" target="_blank">GavinMiao</a> 2012-04-11 11:32 <a href="http://www.aygfsteel.com/GavinMiao/archive/2012/04/11/373780.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> վ֩ģ壺 <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ȫ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ɽ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">֬</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">֦</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">̨</a>| <a href="http://" target="_blank">봨</a>| <a href="http://" target="_blank">Ͽ</a>| <a href="http://" target="_blank">Ĭ</a>| <a href="http://" target="_blank">ͼľ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ȫ</a>| <a href="http://" target="_blank">Ͽ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">½</a>| <a href="http://" target="_blank">³</a>| <a href="http://" target="_blank">ʯ</a>| <a href="http://" target="_blank"></a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>