Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

´«ÖDz¥¿ÍjavaÅàѵ java»ù´¡Ö®±êÇ©¿â

½ñÌìÌ«ÍíÁË £¬µ«ÊÇÀÏʦ²¼ÖõÄ×÷Òµ»¹Ã»ÊÕ¹¦¡£¡£¡£¡£¡£
ÒòΪ×Ô¼ºÇõÃʵÔÚÌ«ÂýÁË£¬ÓÐʱºòÓöµ½¹¤¾ß·¢ÉúÒ»µã´íÎó£¬Ò²ÒªÃÔºý°ë¸öÏûʧ¡£¡£¡£¡£ÎªÊ²Ã´ÊÇÈ«Ó¢Îĵģ¿£¿
»¹ºÃÃ÷ÌìÐÝÏ¢£¬¿ÉÒԺúÃ×öÌâÄ¿£¡
ÒÔÏÂÊDZêÇ©»ù´¡·½ÃæµÄ×ܽᣬÆäʵÎÒ¾õµÃÒªÊDZ³ÏÂÀ´¸üºÃ £¬¹þ¹þ
  -->>>¼òµ¥±êÇ©
ʵÏÖSimpleTag½Ó¿ÚµÄ±êǩͨ³£³ÆΪ¼òµ¥±êÇ©¡£¹²¶¨ÒåÁË5¸ö·½·¨
setJspContext·½·¨
ÓÃÓÚ°ÑJSPÒ³ÃæµÄpageContext¶ÔÏ󴫵ݸø±êÇ©´¦ÀíÆ÷¶ÔÏó
setParent·½·¨
ÓÃÓڰѸ¸±êÇ©´¦ÀíÆ÷¶ÔÏ󴫵ݸøµ±Ç°±êÇ©´¦ÀíÆ÷¶ÔÏó
getParent·½·¨
ÓÃÓÚ»ñµÃµ±Ç°±êÇ©µÄ¸¸±êÇ©´¦ÀíÆ÷¶ÔÏó
setJspBody·½·¨
ÓÃÓÚ°Ñ´ú±í±êÇ©ÌåµÄJspFragment¶ÔÏ󴫵ݸø±êÇ©´¦ÀíÆ÷¶ÔÏó
doTag·½·¨
ÓÃÓÚÍê³ÉËùÓеıêÇ©Âß¼­£¬°üÀ¨Êä³ö¡¢µü´ú¡¢Ð޸ıêÇ©ÌåÄÚÈݵȡ£ÔÚdoTag·½·¨ÖпÉÒÔÅ׳ö
javax.servlet.jsp.SkipPageExceptionÒì³££¬Í¨¹ýÒ³ÃæµÄÒì³£ÐÅÏ¢·µ»Ø¸øÈÝÆ÷£¬µÈÓÚÔÚ´«Í³±êÇ©µÄdoEndTag·½·¨Öзµ»ØTag.SKIP_PAGE³£Á¿µÄÇé¿ö¡£
-->>SimpleTag½Ó¿Ú·½·¨µÄÖ´ÐÐ˳Ðò
WEBÈÝÆ÷µ÷ÓñêÇ©´¦ÀíÆ÷¶ÔÏóµÄsetJspContext·½·¨£¬½«´ú±íJSPÒ³ÃæµÄpageContext¶ÔÏ󴫵ݸø±êÇ©´¦ÀíÆ÷¶ÔÏó¡£
WEBÈÝÆ÷µ÷ÓñêÇ©´¦ÀíÆ÷¶ÔÏóµÄsetParent·½·¨£¬½«¸¸±êÇ©´¦ÀíÆ÷¶ÔÏ󴫵ݸøÕâ¸ö±êÇ©´¦ÀíÆ÷¶ÔÏó¡£Ö»ÓбêÇ©´æÔÚ¸¸±êÇ©µÄÇé¿öÏ£¬WEBÈÝÆ÷²Å»áµ÷ÓÃÕâ¸ö·½·¨¡£
Èç¹ûµ÷ÓñêǩʱÉèÖÃÁËÊôÐÔ£¬ÈÝÆ÷½«µ÷ÓÃÿ¸öÊôÐÔ¶ÔÓ¦µÄsetter·½·¨°ÑÊôÐÔÖµ´«µÝ¸ø±êÇ©´¦ÀíÆ÷¶ÔÏó¡£Èç¹û±êÇ©µÄÊôÐÔÖµÊÇEL±í´ïʽ»ò½Å±¾±í´ïʽ£¬ÔòWEBÈÝÆ÷Ê×ÏȼÆËã±í´ïʽµÄÖµ£¬È»ºó°ÑÖµ´«µÝ¸ø±êÇ©´¦ÀíÆ÷¶ÔÏó¡£
Èç¹û¼òµ¥±êÇ©ÓбêÇ©Ì壬ÈÝÆ÷½«µ÷ÓÃsetJspBody·½·¨°Ñ´ú±í±êÇ©ÌåµÄJspFragment¶ÔÏ󴫵ݽøÀ´¡£
Ö´Ðбêǩʱ-->>
ÈÝÆ÷µ÷ÓñêÇ©´¦ÀíÆ÷µÄdoTag()·½·¨£¬Í¨¹ý·½·¨ÌåÄÚ²Ù×÷JspFragment¶ÔÏ󣬾ͿÉÒÔʵÏÖÊÇ·ñÖ´ÐС¢µü´ú¡¢Ð޸ıêÇ©ÌåµÄÄ¿µÄ¡£
--->>JspFragmentÀà
javax.servlet.jsp.tagext.JspFragmentÀàÊÇ´ú±íJSPÒ³ÃæÖеÄÒ»¶Î·ûºÏJSPÓï·¨¹æ·¶µÄJSPƬ¶Î ÇÒ²»ÄÜ°üº¬JSP½Å±¾ÔªËØ
WEBÈÝÆ÷ÔÚ´¦Àí¼òµ¥±êÇ©µÄ±êÇ©Ìåʱ£¬»á°Ñ±êÇ©ÌåÄÚÈÝÓÃÒ»¸öJspFragment¶ÔÏó±íʾ£¬²¢µ÷ÓñêÇ©´¦ÀíÆ÷¶ÔÏóµÄsetJspBody·½·¨°ÑJspFragment¶ÔÏ󴫵ݸø±êÇ©´¦ÀíÆ÷¶ÔÏó¡£
JspFragmentÀàÖÐÖ»¶¨ÒåÁËÁ½¸ö·½·¨
getJspContext·½·¨
ÓÃÓÚ·µ»Ø´ú±íµ÷ÓÃÒ³ÃæµÄJspContext¶ÔÏó.
public abstract void invoke(java.io.Writer out)
ÓÃÓÚÖ´ÐÐJspFragment¶ÔÏóËù´ú±íµÄJSP´úÂëƬ¶Î
²ÎÊýoutÓÃÓÚÖ¸¶¨½«JspFrag


Ïà¹ØÎĵµ£º

JavaÖм¯ºÏÈÝÆ÷ÀàListºÍSetµÄÓ÷¨

ListµÄÓ÷¨
List°üÀ¨List½Ó¿ÚÒÔ¼°List½Ó¿ÚµÄËùÓÐʵÏÖÀà¡£ÒòΪList½Ó¿ÚʵÏÖÁËCollection½Ó¿Ú£¬ËùÒÔList½Ó¿ÚÓµÓÐCollection½Ó¿ÚÌṩµÄËùÓг£Ó÷½·¨£¬ÓÖÒòΪListÊÇÁбíÀàÐÍ£¬ËùÒÔList½Ó¿Ú»¹ÌṩÁËһЩÊʺÏÓÚ×ÔÉíµÄ³£Ó÷½·¨£¬Èç±í1Ëùʾ¡£
±í1  List½Ó¿Ú¶¨ÒåµÄ³£Ó÷½·¨¼°¹¦ÄÜ
´Ó±í1¿ÉÒÔ¿´³ö£¬List½Ó¿ÚÌṩµÄÊʺÏÓÚ×ÔÉíµÄ ......

Java±ÊÊÔÃæÊÔÌâ


1¡¢Êý¾Ý¿âÐÔÄÜÓÅ»¯ÓÐÄÇЩ´ëÊ©£¨ORACLE/SYBASE/DB2/SQLSERVERÑ¡Ò»ÖÖ£©2¡¢Ð´Ò»¸ö³ÌÐò£¬°Ñ×Ö·û´®µ¹Ðð£¬ÒªÇó“ÄãºÃѽ”±äΪ“ѽºÃÄ㔣¨´¦ÀíÖÐÎÄ£©3¡¢Ãû´Î½âÊÍ£¨¼Ì³Ð¡¢ÖØÔØ¡¢½Ó¿Ú£©4¡¢JAVAÏß³ÌʵÏÖÓÐÄÇЩ·½·¨£¬ËµÃ÷Ö®5¡¢JAVAÄÚ´æÒÅ©ʲôԭÒò6¡¢´ÓÏîÄ¿¹ÜÀí½Ç¶È·ÖÎöÐèÇó±ä¶¯µÄ¿ØÖÆ7¡¢JAVA SERVLETµÄÉ ......

Java Éí·ÝÖ¤ÑéÖ¤

ÕâÊÇÒ»¸öûÓÐÑéÖ¤ÐÐÕþÇø´úÂëµÄ£¬ËùÒÔÕâ¸ö²»ËãÍêÈ«£¬µ«ÊÇÎÒÃÇÔÚ×öʵ¼ÊÓ¦ÓÃʱ¿ÉÒÔ¼ÓÉÏ£¬ÕâÀïÎÒû¼Ó¡£
Ô´ÂëÈçϽö¹©²Î¿¼.
package ibees.validator;
import java.util.regex.Pattern;
/**
* ³£ÓõÄÑéÖ¤,source charset utf-8
*
* @author hhzxj2008
* */
public class CommonValidator {
public static boolea ......

javaʵÏÖ´ò×Ö»úЧ¹ûµÄ³ÌÐò

import java.applet.*;
import java.awt.*;
import java.io.*;
import java.net.URL;
import java.util.*;
public class Typewriter4 extends Applet implements Runnable
{
    AudioClip hit, cr, ding ;
    boolean alreadyRun = false,
      & ......

Java µÄinstanceofµÄÓ÷¨

instanceofÊÇJavaµÄÒ»¸ö¶þÔª²Ù×÷·û£¬ºÍ==£¬>£¬<ÊÇͬһÀණ¶«¡£ÓÉÓÚËüÊÇÓÉ×Öĸ×é³ÉµÄ£¬ËùÒÔÒ²ÊÇJavaµÄ±£Áô¹Ø¼ü×Ö¡£ËüµÄ×÷ÓÃÊDzâÊÔËü×ó±ßµÄ¶ÔÏóÊÇ·ñÊÇËüÓұߵÄÀàµÄʵÀý£¬·µ»ØbooleanÀàÐ͵ÄÊý¾Ý¡£¾Ù¸öÀý×Ó£º
¡¡¡¡String s = "I AM an Object!";
¡¡¡¡boolean isObject = s instanceof Object;
¡¡¡¡ÎÒÃÇÉùÃ÷ÁËÒ»¸öStrin ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ