ʲôÊÇJava Plug in
ʲôÊÇJava Plug-in
¡¡¡¡Java-plug-in,Ò²¾ÍÊÇÎÒÃÇͨ³£ËµµÄAppletÓëJWS(Java Web Start),´Ó¼¼ÊõÉÏÀ´½²,ËûÃǶ¼Á¥ÊôÓëRIA(Rich Internet Application)Java Plug-inµÄ´æÔÚ£¬Ê¹µÃÔÚä¯ÀÀÆ÷ÖÐÔËÐÐJava³ÌÐò³ÉΪ¿ÉÄÜ£¬Java Plug-inÔÚä¯ÀÀÆ÷ÖÐ×÷Ϊ²å¼þ´æÔÚ£¬ËüÀ©Õ¹ÁËä¯ÀÀÆ÷µÄ¹¦ÄÜ£¬Ò²¾ÍÊÇ˵ÔÚä¯ÀÀÆ÷ÖУ¬ÎÒÃÇ¿ÉÒÔ×öµÄ¸ü¶à£¬¸üºÃ¡£
¡¡¡¡ÏÖ´æJava°æ±¾¿ÉÒÔÖ§³ÖºÜ¶àµÄÖ÷Á÷·þÎñÆ÷£¬±È½Ï³£ÓõÄÊÇInternet ExplorerÓëNetscape¡¢¼°FireFox£¬ÕâЩä¯ÀÀÆ÷£¬JavaÒѾ¸øÓèÁ˺ܺõÄÖ§³Ö¡£Èç¹ûÎÒÃÇÖйúÍøËÙÔÙ¿ìÒ»µã£¬ÎÒÃǾͲ»»áÒòΪ°²×°Java Plug-in¶øµÈ´ýºÜ³¤µÄʱ¼äÁË£¬µ±È»£¬ÕâÖ»ÊǸöЦ»°¡£
ÈçºÎʹÓÃJava Plug-in
¡¡ ÎÒÃÇʹÓÃJava Plug-in,¿ÉÒÔͨ¹ýÔÚhtmlÒ³ÃæÖÐǶÈë<applet>±êÇ©£¬Ê¹ÓÃJWS¼¼Êõ£¬»òÔÚ¶¯Ì¬Ò³ÃæÖÐʹÓÃ<jsp:plugin>±êÇ©¡£ÏêϸµÄ½âÊÍÇë¿´ÏÂÃæµÄ½éÉÜ¡£
ʹÓÃ<applet>±êÇ©
¡¡¡¡½«appletǶÈëµ½ÍøÒ³ÖУ¬×îÔçµÄʹÓ÷½·¨¾ÍÊÇʹÓÃ<applet>±êÇ©£¬µ«w3c(World Wide Web Consortium )²¢²»ÍƼöÕâÖÖ×ö·¨£¬Òѽ«´Ë±êÇ©ÁÐÈë²»ÍƼöʹÓõÄÃûµ¥ÖÐÁË£¬µ«w3cµÄÎĵµÖÐÌá¼°²»ÍƼöʹÓÃ<applet>Ҳ˵µÄ²»ÔõôÃ÷ÁË£¬¶øSun¹«Ë¾ÔòÍƼöʹÓÃ<applet>,ÒòΪËü¿ÉÒÔ¿çä¯ÀÀÆ÷¡£ÔÚÕâÀÎÒÃÇÒ²×ðÖØw3cµÄÍƼöʹÓã¬ÄǾÍÊÇÔÚInternetÖÐʹÓÃ<OBJECT>»ò<EMBED>±êÇ©¡£
×¢Ò⣺SunÍƼöÔÚÆóÒµÄÚ²¿Íø(Intranet)ÖУ¬ÍƼöʹÓÃ<applet>±êÇ©¡£
ÖÁÓÚ<applet>¡¢<OBJECT>¡¢<EMBED>¡¢<jsp:plugin>µÄÏêϸʹÓ÷½·¨£¬Çë¿´ÏÂÒ»±éÎÄÕ£º
ÔÚÍøÒ³ÖÐʹÓÃAppletµÄ±êÇ©Ïê½â
Ïà¹ØÎĵµ£º
À´±±¾©ÒѾÊǽü20ÌìÁË£¬Æð³õ¸Õµ½¶ÔÎҵĴò»÷ȷʵ²»Ð¡£¬ºÜÏë»Ø¼Ò µÄ¸Ð¾õ£¬µ«ÊÇÀ´µ½ÁË´«ÖÇ£¬À´µ½ÁËÕâÀÐÄÀï¸Ð¾õºÃ¶àÁË£¬ÈËÉúµØ²»Ê죬È˵ÄÐÄÀïÒ»°ã¶¼ÊǺܹ¶ÀµÄ£¬ÏëÔÚÐÄÀïÕÒ¸öÒÀ¿¿£¬ÕÒ¸öÅóÓÑÄÜÒ»Æð³öÈ¥Í棬ÁÄÌ죬ѧϰ¡£À´µ½Á˱±¾©£¬ÊÇÒ»¸öȫеÄÉú»î·½Ê½£¬Ê²Ã´¶¼Òª¿¿×Ô¼ºÁË£¬³öÃÅÕæµÄºÜÄÑ£¬ÓÈ ......
½ñÌìÌý¿Î²ÅÖªµÀ×Ô¼º×ÔѧµÄhibernate¿ÉÒÔËãµÃÉÏÊÇһ̣ºýÍ¿£¬ÒòΪ֮ǰ¿´HibernateµÄÊé¿´ÁË¿´¼¸±é¶¼Ã»Óи㶮£¬½ñÌìÌýÁËÒ»ÌìµÄ¿Î£¬ºÜ¶à¶«Î÷¾Í»íÈ»¿ªÀÊ£¬ËùÒÔԤϰҲÊǺÜÖØÒªµÄ£¬ÄÇÅÂÊÇûÓп´¶®£¬µ«ÖÁÉÙÒ²ÓÐÓ¡Ïó¡£ ½ñÌìÉϿεĽø³Ì±È½Ï¿ì£¬ÐìÅà³ÉÀÏʦ½²¿Î£¬ÎÒÖ»ÄÜÓá°Ç¿º·¡±Á½¸ö×ÖÀ´ÐÎÈÝ£¬ÉÏ¿Îʱ¾«Á¦³äÅ棬ÓïËٿ죨µ«ÌýµÃºÜÇåÎú£¬¼ ......
/*×÷ÓãºÓû§ÊäÈë×Ô¼ºµÄÃû×Ö£¬ÏÔʾһ¾äÎʺòÓï¡£
ʱ¼ä£º2010Äê4ÔÂ20ÈÕ¡£
×÷Õߣºenfang.
*/
import java.io.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
class KeyboardReader¡¡//×÷Ó㺴ӼüÅ̶ÁÈëÊý¾Ý
{
¡¡¡¡private BufferedReader reader;
¡¡¡¡& ......
ÒÔÇ°¿´¹ýÕâ±¾Ê飬×î½ü¾õµÃ×÷ÕßÓÐЩ¹Ûµã»¹ÊÇͦ¶ÔÁË£¬¼ÓÉÏЩ×Ô¼ºµÄ×ܽᣬÕûÀíÏ£¬Ï£ÍûÄܶÔÒÔºó¹¤×÷ѧϰÓÐÖ¸µ¼×÷Óá£
³ÌÐòÔ±µÄÈýÖÖ¾³½ç£º
¿ÉÄÜÍõ¹úά´ó¸ç¿´¿´ºóÈË°ÑËûµÄÈËÉúÈý¾³½ç·¢Õ¹µÃÈçºÎ¿çѧ¿Æ£¬¶àÃÅÀ࣬һ¶¨ÈªÏÂÓÐÖª£¬±¶¸ÐÐÀο°¡£¬¹þ¹þ£¡
1¡¢³ÌÐòÔ±µÚÒ»²ã¾³½ç£ºÕâ°ï¸çÃÇÒ»°ã¶¼ÊDZÏÒµÈýÄêÒÔÄڵģ¬±È½ÏÓо«Á¦£¬¶ ......
// ÕûÊýµ½×Ö½ÚÊý×éת»»
public static byte[] int2bytes(int n) {
byte[] ab = new byte[4];
ab[0] = (byte) (0xff & n);
ab[1] = (byte) ((0xff00 & n) >> 8);
ab[2] = (byte) ((0xff0000 & n) >> 16);
ab[3] = (byte) ((0xff000000 & n) >> 24);
return ab ......