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

´«ÖDz¥¿Í——JSP£¨ËÄ£©¹¤³§Ä£Ê½

Ò»£º¹¤³§Ä£Ê½³öÏÖµÄÔ­Òò
    Ò»°ãÉè¼ÆÄ£Ê½£º
view plaincopy to clipboardprint?
 
interface Fruit{   
        public void eat();   
    }   
class Apple implements Fruit{   
        public void eat(){   
                System.out.println("**³ÔÆ»¹û**") ;   
            }   
    }   
class Orange implements Fruit{   
        public void eat(){   
                System.out.println("**³ÔéÙ×Ó**") ;   
            }   
    }   
       
public class FactoryDemo01{   
        public static void main(String args[]){   
                Fruit f = new Apple();   
                f.eat();   
            }   
    }   
       
 
interface Fruit{
  public void eat();
 }
class Apple implements Fruit{
  public void eat(){
    System.out.println("**³ÔÆ»¹û**") ;
   }
 }
class Orange implements Fruit{
  public void eat(){
    System.out.println("**³ÔéÙ×Ó**") ;
   }
 }
 
public class FactoryDemo01{
  public static void main(String args[]){
    Fruit f = new Apple();
    f.eat();
   }
 }
 
ÔÚÕâÖÖÆÕͨµÄ±àÂ뷽ʽÖУ¬ºóÐøµÄÀ©Õ¹¹¦Äܽ«ÊÇÔÖÄÑ£¬µ±ÓÐеÄË®¹ûÀàÔö¼Óʱ£¬±ØÐë·­³öÔ´Âë½øÐÐÐ޸ģ¬Õâ¶ÔÓÚÒ»¸öÅ


Ïà¹ØÎĵµ£º

ÔÚJSPÖÐÓÃObject¶ÔÏóÀ´´«µÝÖµ

JavaScript´úÂ룺
          //°ìÊ´¦³éÈ¡±ÈÀý¸Ä±ä£¬¸üÐÂÆäËûÊý¾Ý
....function changeOfficeSampleScale(obj,flushOfficeRow){
 var row=obj.parentNode.parentNode;  //È¡µÃËùÔÚÐÐ
 var officeCode=row.id; //È¡µÃÐеÄId
 
 if(i ......

jspºÍservletÖØ¶¨Ïò

 Ò»¡¢        
         ÔÚÒ»¸öÉè¼ÆÁ¼ºÃµÄWebÓ¦ÓÃÖУ¬¶¼»á×ÛºÏʹÓÃServletºÍJSP¼¼Êõ¡£Servlet¿ØÖÆÒµÎñÁ÷ת£¬JSPÔò¸ºÔðÒµÎñ´¦Àí½á¹ûµÄÏÔʾ¡£´Ëʱ£¬½«´óÁ¿Óõ½Öض¨Ïò¼¼Êõ¡£
¡¡¡¡Öض¨Ïò¼¼Êõ¿ÉÒÔ·ÖΪÁ½À࣬һÀàÊǿͻ§¶ËÖØ¶¨Ïò£¬Ò ......

ÔÚWEB£­INFÏÂʵÏÖjspÒ³ÃæµÄÌø×ª

²»Ëµ·Ï»°ÁË£¬¿´ÏÂÃæµÄÀý×Ó°É(ÀûÓÃstructsʵÏÖ£©£º
ÔÚWEB£­INFÏÂÓÐÁ½¸öÒ³Ãæ£º a.jsp  ºÍ  b.jsp   £¬  ÏÖÔÚҪʵÏÖ´Óa.jspÁ¬½Óµ½b.jsp
ÔÚa.jspÖУº
                    <html:link action= ......

servletºÍJSP¹ýÂËÆ÷Filter

servlet APIµÄ2.3°æ±¾ÖÐ×îÖØÒªµÄÒ»¸öй¦ÄܾÍÊÇÄܹ»ÎªservletºÍJSPÒ³Ãæ¶¨Òå¹ýÂËÆ÷¡£¹ýÂËÆ÷ÌṩÁËijЩÔçÆÚ·þÎñÆ÷ËùÖ§³ÖµÄ·Ç±ê×¼
“servletÁ´½Ó”µÄÒ»ÖÖ¹¦ÄÜÇ¿´óÇÒ±ê×¼µÄÌæ´úÆ·¡£
¹ýÂËÆ÷ÊÇÒ»¸ö³ÌÐò£¬ËüÏÈÓÚÓëÖ®Ïà¹ØµÄservlet»òJSPÒ³ÃæÔËÐÐÔÚ·þÎñÆ÷ÉÏ¡£¹ýÂËÆ÷¿É
¸½¼Óµ½Ò»¸ö»ò¶à¸öservlet»òJSPÒ³ÃæÉÏ£¬²¢ÇÒ¿É ......

windows2003ÏÂÅäÖÃJSPÔËÐл·¾³

Ê×ÏÈ£¬±ØÐë˵Ã÷ÕâЩ²»ÊÇÎÒ×Ô¼ºÐ´µÄ£¬µ«ÊǸøÁËÎҺܴó°ïÖú£¬Ï£Íû¶ÔÄãÒ²ÄÜÓÐËù°ïÖú£¡
×£Äã³É¹¦£¡
Ò»¡¢¿ª·¢»·¾³ÅäÖÃ
µÚÒ»²½£ºÏÂÔØj2sdkºÍtomcat£ºµ½sun¹Ù·½Õ¾£¨http://java.sun.com/j2se/1.5.0/download.jsp£©ÏÂÔØj2sdk£¬×¢ÒâÏÂÔØ°æ±¾ÎªWindows Offline InstallationµÄSDK£¬Í¬Ê±×îºÃÏÂÔØJ2SE 1.5.0 Documentation£¬È»ºóµ½ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ