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

java servlet

×î½ü£¬Éî¿ÌµÄÈÏʶµ½£¬ ѧϰ£¬²»½öÒª¶à¿´Ê飬»¹ÒªÊ±²»Ê±µÄ×ܽáһϣº
     ÓÃJSP + Servlet + JavaBean¿ª·¢ÏîÄ¿£¬ Ô­ÒÔΪÊDZȽÏÔã¸âµÄÊ£¬ ÒòΪ£¬JSP Ò³ÃæÖÐ ×ܻᱻǶÈëºÜ¶à java´úÂ룬ÆäʵÎÒÒ»Ö±¾õµÃ£¬¼ÈÈ»ÓÐÁË strutsµÈ±íʾ²ã¿ò¼Ü£¬¾Í²»ÒªÓÃServlet À´×ö¿ØÖÆÆ÷ÁË£¬ ¿ÉÊÇ×î½ü£¬Ã÷°×ÁË£¬  ×ÐϸÏëÏ룬¸ö¸öÓиöµÄºÃ´¦°É£¬¶ÔÓÚСϵͳÏîÄ¿£¬ ÆäʵÓà JSP + Servlet + JavaBaen ÊǼþºÜºÃµÄÊ£¬ ¼òµ¥£¬ÇÒºÃÉÏÊÖ£¬Ã»ÓÐÅäÖÃÎļþµÄ·±ËöÎÊÌâÁË£¡
       ÔÚÓÃServlet×ö¿ØÖÆÆ÷µÄ¹ý³ÌÖУ¬¾­³£»áÓõ½ÔÚServletÀïдҳÃæÌøתµÄÓï¾ä£º
×ܽáÈçÏÂ:
     µÚÒ»ÖÖ:
                   String url = "index.jsp";
                   ServletContext sc = getServletContext();      //»ñÈ¡ÉÏÏÂÎÄ
                   RequestDispatcher rd = sc.getRequestDispatcher(url);   //¶¨Òå°ü×°Æ÷
                   rd.forward(request,response);                      // Ò³ÃæÌøת
    µÚ¶þÖÖ:
                  response.sendRedirect()
   
    


Ïà¹ØÎĵµ£º

Java UDPͨѶ³ÌÐòÉý¼¶°æ

×î½üÒ»Ö±ÔÚдC#µÄUDPͨѶ·½ÃæµÄ³ÌÐò£¬³é¿Õ°ÑÒÔǰдµÄJavaµÄUDPͨѶ³ÌÐòÄóöÀ´×öÁËһЩÉý¼¶µÄÐ޸ģ¬°ÑÒÔǰһЩ²»×ãµÄµØ·½×öÁ˸Ķ¯£¬Í¬Ê±Ê¹ÓÃexe4jÈí¼þ±àÒë³ÉexeÎļþ£¬Èí¼þЧ¹ûÈçÏÂËùʾ£º
ͬʱ°Ñ´úÂëÌù³öÀ´£¬ÒÔ¹©´ó¼ÒÖ¸µãÒ»¶þ¡£
Main.java(Ö÷º¯Êý)
/*
 * To change this template, choose Tools | Templates
  ......

JAVAÖг£ÓÃÓ¢Îļòдȫƴ¼°ÖÐÎĺ¬Òå

×òÌì¿´ÕÅТÏéµÄjava¸ß¼¶½Ì³Ì£¬Ëû˵һ°ëÃæÊÔjavaÖÐÓ¢ÎļòдÒâ˼µÄ¶¼ÊÇһЩ´ó¹«Ë¾£¬Ò»¸ö¿¼²ìÄãÕæµÄÓùýÕâЩ¶«Î÷£¬È·Êµ¶ÔÕâЩ¶«Î÷Óиö»ù±¾Á˽⣬ͬʱÐèÒªÄã¾ßÓÐÒ»¶¨µÄÓ¢Óïˮƽ¡£ËùÒÔÔÝʱ²¹²¹¿Î£¬ºÇºÇ¡£
API (Application Programming Interface) Ó¦Óñà³Ì½Ó¿Ú
JRE (Java Runtime Enviroment) Java ÔËÐÐʱ»·¾³
JDK (Java Dev ......

java·´Éä»úÖÆ

ת×Ô http://www.bjtarena.com/html/2010/4/1058.htm
ºÜ¶àÅóÓÑÔÚÉîÈëµÄ½Ó´¥JavaÓïÑÔºó¾Í»á·¢ÏÖÕâÑùÁ½¸ö´Ê£º·´Éä(Reflection)ºÍÄÚÊ¡(Introspector)£¬¾­³£¸ã²»Çå³þÕâµ½µ×ÊÇÔõô»ØÊ£¬ÔÚʲô³¡ºÏÏÂÓ¦ÓÃÒÔ¼°ÈçºÎʹÓã¿
¡¡¡¡·´Éä
¡¡¡¡Ïà¶Ô¶øÑÔ£¬·´Éä±ÈÄÚÊ¡¸üÈÝÒ×Àí½âÒ»µã¡£ÓÃÒ»¾ä±È½Ï°×µÄ»°À´¸ÅÀ¨£¬·´Éä¾ÍÊÇÈÃÄã¿ÉÒÔͨ¹ýÃû³ÆÀ ......

³¬¼òµ¥³ÌÐò99³Ë·¨±í£¨java£©

public class chengfa {
 public static void main(String[] args)
 {
  model md=new model();
  
  md.method();
  
  
 }
}
class model
{
 public int count=0;
 public int[]b=new int[100];
 
 public void me ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ