дÁËÒ»¸öJSP³ÌÐò£¬¹¦ÄÜÊÇ£ºÏÈÊÇÒ»¸öÉÏ´«Ò³Ã棬¸ÃÒ³ÃæÉÏÓÐ2¸öÎļþÉÏ´«¿Ø¼þ£¬ÔÚ·þÎñ¶ËÊÇÓÃupload°üʵÏÖµÄÉÏ´«Îļþservlet£¬ÉÏ´«ºÃºó£¬±£´æÔÚÒ»¸öĿ¼ÖУ¬È»ºó·þÎñÆ÷¶Ëµ÷ÓÃÒ»¸öÒÑ´æÔÚµÄJavaÀàÀ´Æ¥ÅäÕâ2¸öÎļþ£¨´ó¸Å¾ÍÊDZȽϣ©£¬Õâ¸öJavaÀàÏȼì²éÕâ2¸öÎļþµÄ´óС£¬Èç¹ûÌ«´óµÄ»°£¨¾ßÌåÓиö½çÏÞ£©£¬È»ºóÕâ¸öJavaÀà¾Í½áÊø·µ»Ø£¬Õâ¸öservlet¾Í»á·µ»Ø¸ø¿Í»§¶ËÒ»¸öÏìÓ¦£¬Õâ¸öÏìÓ¦ÖаüÀ¨2¸öÎļþÉÏ´«¿Ø¼þ£¬Ò»¸öÎı¾¿Ø¼þÓÃÀ´ÈÃÓû§Ìîдµç×ÓÓʼþµØÖ·£¬È»ºóÌîºÃºóÖØÐÂÉÏ´«Æ¥Åä¡£Õâ¾ÍÊÇÕâ¸ö³ÌÐòµÄ¹¦ÄÜ¡£
ÎÒµÄÒÉÎÊÊÇ £º µ±Îļþ´ó´óÊÇ£¬¿É²»¿ÉÒÔÖ»·µ»ØÒ»¸öº¬ÓÐÎı¾ÓòµÄÏìÓ¦¸øä¯ÀÀÆ÷£¬È»ºóÓû§ÊäÈëºó·¢¸ø·þÎñÆ÷¶ËÈÃÕâ¸öServlet¼ÌÐøÔËÐУ¿ÒòΪÎÒ×Ô¼ºÈÏΪ·þÎñÆ÷¶ËServlet·µ»ØÒ»¸öÏìÓ¦ºóÕâ¸öservletÉúÃü¾Í½áÊøÁË¡£
ÇëÖªµÀµÄ¸æËßÎÒÏ£¬Ð»Ð»£¬ºÜ¼±£¡£¡£¡
ÍüÁË˵£¬ Õâ¸öÉÏ´«¿ØÖÆservletÉÏ´«Íêºó£¬ÊÇÔÚ¸ÃservletÖмÌÐøµ÷ÓõÄjavaÀ࣬ȻºóÔÙ·µ»Ø¿Í»§¶ËÒ»¸öÏìÓ¦£¬Õâ¸öservlet¾Í½áÊøÁË¡£
Èç¹ûÄã³ÌÐòÔÚÄÇÖ®ºó»¹Ð´Óе÷ÓÃÆäËûµÄ·½·¨£¬Ëü»¹ÊÇÒ»ÑùµÄ»áÔËÐа¡£¬
Ö±½Ó×öÒ»¸öÌõ¼þ·ÖÖ§ÅжϾͿÉÒÔÁË°É£¬Åжϵç×ÓÓʼþµØÖ·ÊÇ·ñΪ¿Õ£¬Îª¿Õ±íʾҪ´ÓÍ·µ½Î²Ö´ÐУ¬²»Îª¿ÕÔòÌø¹ý²»ÐèÒªÔÙÖ´ÐеĴúÂë¼ÌÐøÖ´ÐС£
ѧϰѧϰ
ÒýÓà дÁËÒ»¸öJSP³ÌÐò£¬¹¦ÄÜÊÇ£ºÏÈÊÇÒ»¸öÉÏ´«Ò³Ã棬¸ÃÒ³ÃæÉÏÓÐ2¸öÎļþÉÏ´«¿Ø¼þ£¬ÔÚ·þÎñ¶ËÊÇÓÃupload°üʵÏÖµÄÉÏ´«Îļþservlet£¬ÉÏ´«ºÃºó£¬±£´æÔÚÒ»¸öĿ¼ÖУ¬È»ºó·þÎñÆ÷¶Ëµ÷ÓÃÒ»¸öÒÑ´æÔÚµÄJavaÀàÀ´Æ¥ÅäÕâ2¸öÎļþ£¨´ó¸Å¾ÍÊDZȽϣ©£¬Õâ¸öJavaÀàÏȼì²éÕâ2¸öÎļþµÄ´óС£¬Èç¹ûÌ«´óµÄ»°£¨¾ßÌåÓиö½çÏÞ£©£¬È»ºóÕâ¸öJavaÀà¾Í½áÊø·µ»Ø£¬Õâ¸öservlet¾Í»á·µ»Ø¸ø¿Í»§¶ËÒ»¸öÏìÓ¦£¬Õâ¸öÏìÓ¦ÖаüÀ¨2¸öÎļþÉÏ´«¿Ø¡¡
Ïà¹ØÎÊ´ð£º
JSPÒ³ÃæÖÐÓжà¸öradio°´Å¥ JSPÒ³Ã潫²ÎÊýPOST¸øservlet ÒªÇóÈçÏÂ; 1.Ñ¡ÔñÒ»¸öradio£¬µ÷ÓÃservlet servletÖиù¾Ý²ÎÊýµ÷ÓÃÆäËû½Ó¿Ú£¬³ý·ÇÑ¡ÖиÃradio²¢µã»÷JSPÖеÄʵР......
ÎÒJSPµÄÒ³ÃæÊÇ£º <%@ page language="java" contentType="text/html; charset=gb2312" %> <script> function Save(){ xmlHttp=GetXmlHttpObject() if(xmlHttp==nul ......
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 52 in the jsp file: /vip_info.jsp ÕË cannot be resolved 49: <table border="1& ......
id name datetime 1 a 2010-05-13 10:15:00 2 b 2010-05-14 09:10:00 3 d 2010-05-14 10:10:00 ÈçºÎ½«¾àÀëÄ¿Ç°×î½üµÄÄǸö¼Ç¼µÄname ¸üÐÂΪ¡°x¡±ÄØ Ð»Ð»¿© °¡ ºÇºÇ update table_n ......
Java code: ...... synchronized(user){ int loginNum = Integer.parseInt(Main_Client_Dia.jtf2.getText().trim()); Main_Client_Dia.jtf2.setText(""); loginNum++; ......