Çë½Ì jspÉèÖÃÎÊÌâ
ÎÒÏÂÔØÁËjavaµ«ÕÒ²»µ½·ÅµÄλÖÃÁË£¬Ò²ÏÂÔØÁËtomcat¡£¸Ä»·¾³±äÊýµÄʱºòÐèÒªÕÒµ½java-homeºóÃæµÄλÖᣡ£ÎÒÔõô²ÅÄÜÕÒµ½ÄØ£¿
»¹ÓоÍÊÇÔõôÕÒµ½ÏÂÔغÃÁ˵ĵ«Íü¼ÇλÖõÄÎļþÄØ£¿ÓÃ×¢²á±íÂð£¿
ºÃÏñ¸újspû¹ØϵµÄ°É£¿£¿Ôõô»áÕÒ²»µ½ÏÂÔصÄÎļþ£¿¸ã²»¶®¡¢£¬£¬
²»ÒªÐÞ¸Ä×¢²á±í°É Ö»ÒªÔÚÎҵĵçÄÔµÄÊôÐԸ߼¶ÀïÐ޸Ļ·¾³±äÁ¿ JAVA_HOME path CLASSPATH Õâ3¸ö
ÅäÖÃһϻ·¾³±äÁ¿
ÒªÊÇlzÊÇÒªÕÒÎļþµÄ»°£¬ËÑË÷¾Í¿ÉÒÔÁË°¡¡£
Èç¹ûÄãÊÇÓÃѸÀ×ÏÂÔØµÄ Äã¿ÉÒÔÔÙÒÑÏÂÔØÑ¡ÏîÖв鿴ÒÑÍê³ÉµÄÏÂÔØÈÎÎñ È»ºóÑ¡Ôñ´ò¿ªÎļþËùÔÚλÖà ¾Í¿ÉÒÔÁË
²»ÊÇÓÃѸÀ×ϵģ¬ÔÚµçÄÔÉÏÕÒ²»µ½ÁË¡£ÖØÐÂÏÂÔصÄʱºò¾ÍÏÔʾ£¬ÒѾÏÂÔØÁË¡£¡£
Õâ¸öÎÊÌâÓеãÀ×ÈË°¡£¡ÔÚÒÑÏÂÔصÄĿ¼Àï¿´¿´ÊôÐÔ¾ÍÖªµÀÁË¡£
È¥ËÑË÷°É£¬¹Ø¼ü×ÖΪjdk*.exe
Ê×ÏÈÒªÅäÖÃclasspathµÄ»·¾³±äÁ¿£¬¾ÍÊÇÄã°²×°µÄjdkµÄλÖÃÕÒµ½ÆäÖеÄbinÎļþӦΪÀïÃæÓÐjavac.exe ºÍjava.exe ¡£
ÕÒÎļþ¿ÉÒÔµ½ÎҵĵçÄÔÀïÃæËѹؼü×Ö¡£ÄãÈç¹ûÊÇ°²×°µÄʱºòûÓиıäËüµÄλÖõĻ°Ò»°ã¶¼ÔÚ
C:\Program Files\Apache Software Foundation\Tomcat 6.0
ÕâÊÇÎÒĬÈÏ°²×°µÄλÖã¬Äã¿ÉÒÔÕÒһϣ¡
ͨ¹ýÏÂÔع¤¾ß¿´´æ·ÅµÄ·¾¶Ó¦¸ÃÊÇ¿ÉÒԵİÉ
àÅ£¬¸Õ¸Õ˵µÄjavaÆäʵÊÇjdk¡£ÎÒ¸øŪ»ìÁË¡«
Ïà¹ØÎÊ´ð£º
ÎÒµãºóÍËʱÊÇ¿Õ°×Ò³Ãæ
ÐèˢвÅÄÜÏÔʾ
Õâ¸öÔõô´¦Àí°¡
Çë´ó¼Ò°ï°ïæ
°ÑÎÊÌâ˵µÄÏêϸһЩ£¬ÕâÑùÓÐÖúÓÚÎÊÌâµÄ»Ø¸´£¬¼°´ð°¸µÄ׼ȷÐÔ£¡
ÎÒ¾õµÃÊÇÄãµÄä¯ÀÀÆ÷Æ÷µÄÎÊÌâ°É£¬ÎÒÒÔÇ°Óöµ½¹ýÕâÑùµÄÎÊÌ⣬°ÑIEµÄËùÓÐÊôÐÔÖ ......
OAϵͳ£¬°üÀ¨½ÇɫȨÏÞ£¬ÏµÍ³°²È«£¬×¢È룬
ÔËÐеIJÙ×÷ϵͳ£¬Êý¾Ý¿â£¬´ó¼Ò¶¼ÌáÌὨÒé
»¹ÓÐÒÔºóµÄϵͳ¿ÉÀ©Õ¹ÐÔÉÏÓ¦¸ÃÈçºÎ¹æ»®ÄØ
Çë´ó¼ÒÌáÌὨÒ飬лл
°ï¶¥
up
ÎÒ½¨ÒéÓÃ:
jsp+jdbc+Struts×÷£¨Ð§ÂÊ£©
Ñϸñ°´ ......
±¾ÈË×öÁËÒ»¸öÄ£Ä⹺ÎïÍøÕ¾£¬Óöµ½Ò»Ð©ÎÊÌâ¡£
µÚÒ»¸öÓû§Ñ¡ÔñÁËA¡¢B¡¢CÉÌÆ·
È»ºóµÚ¶þ¸öÓû§Ö»Ñ¡ÔñDÉÌÆ·¡£
µã»÷²é¿´µÄʱºò£¬¹ºÎï³µÁгöA¡¢B¡¢C¡¢DËÄÖÖÉÌÆ·£¬ÇëÎÊÄÄÀï³öÁËÎÊÌ⣿
Java code:
<%@ page content ......
ÎÒÏëÓÃjavabeanʵÏÖ¼ÆÊý
´úÂëÈçÏ£º
ComputerCount.java
package tom.jiafei;
import java.io.*;
public class ComputerCount{
int number=0;
boolean iscome=false;
File file=new ......
ÎÒ¸Õ×öºÃÒ»¸öjspµÄ¹ºÎïÉ̳ǣ¬¿ÉÎÒ²»»áÔõô·¢²¼µ½ÍøÉÏ£¡ÓÐËÄÜ°ï°ïÎÒ
¿ÉÒÔ×Ô¼º×âÓÃһ̨·þÎñÆ÷ÅäÖ㬹ØÓÚÉÏ´«µÄ»°£¬¾ÍÊÇÓÃÉÏ´«Èí¼þ£¬°ÑÄãµÄ³ÌÐò´«µ½·þÎñÆ÷ÉÏ¡£
mark
´ò¸öwar°ü·ÅÉÏÈ¥¾ÍÐÐÁË
Õ¦ÌýÄãÃÇ˵µÄÕâ ......