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

½¨Á¢JSP開發環¾³

 1.  JRE °²裝 (¿É從 http://java.sun.com/ÏÂ載)
       Java SE Runtime Environment (JRE)   JRE 6 Update 17
 2.  JDK°²裝   (¿É從 http://java.sun.com/ÏÂ載)
      Java SE Development Kit (JDK)    JDK 6 Update 17
 3.JDK  Enviroment Variables 設ÖÃ
       JAVA_HOME      C:\Java\jdk1.6.0_04
       CALLSSPATH     .;
       Path                  %JAVA_HOME%\bin
 4. 測試ÊÇ·ñ設¶¨³É¹¦
       cmd->運ÐÐ javac  or 運ÐÐ java -version
 5.tomcat 6.20  (¿É從  http://www.apache.org/ ÏÂ載)
      6.0.20 -> Binary Distributions ->Windows Server Installer  ÏÂÔغó°²×°
      browser : http://localhost:8080  µ¯³öTomcat Ò³Ãæ¡£¼´°²×°³É¹¦¡£
     ÐéÄâĿ¼ÅäÖãº
      create folder  "F:JavaWebApp"
      È»ºó½¨Á¢web.xml Îļþ ¿É´ÓF:\Tomcat 6.0\webapps\ROOT\WEB-INF\Web.xml¸´ÖÆÕ³Ìù£¬
      °Ñ½Úµã</web-app>ÀïÃæÄÚÈÝɾ³ý¡£
      F:\Tomcat 6.0\conf\server.xml ÎļþÖÐ </host>Ç°ÅäÖÃÐéÄâĿ¼·¾¶ <Context path="/test" docBase="F:\JavaWebApp"/>
      È»ºóÔÙÐéÄâĿ¼Öн¨helloWorld.jspÒ³Ã棬browser ²âÊÔ http://localhost:8080/test/helloWorld.jsp .
 6.Eclipse (¿É從 http://www.eclipse.org ÏÂ載)
    ´Ë為×ÀÃæ開發¹¤¾ß
 7.myEclipse (¿É從 ÏÂ載)
    JSP開發¹¤¾ß  &


Ïà¹ØÎĵµ£º

Ñù¸Ä±ämyeclipseĬÈϵÄjsp ´ò¿ª·½Ê½

1ÔõÑù¸Ä±ämyeclipseĬÈϵÄjsp ´ò¿ª·½Ê½
preferences->General->editors£­>Files Associations£¨Î»Öøù¾Ý¾ßÌåeclipse°æ±¾»áÓÐËù²»Í¬£© File Types Ñ¡Ôñ.jsp assiciations ÀïÑ¡ÔñMyEclipse jsp editor£¬È»ºóµãÓұߵÄdefault
2,ÉèÖÃMyEclipse ×ÖÌå´óС
ÔÚwindow->perferences->General->Appearance-> ......

JDKÓëJSPÉèÖÃ

 JDK»·¾³±äÁ¿ÅäÖãº
1.ÓÒ½¡µ¥»÷“ÎҵĵçÄԔͼ±êÑ¡Ôñ“ÊôÐÔ”£¬È»ºóÑ¡Ôñ“¸ß¼¶”Ñ¡Ï
µã»÷“»·¾³±äÁ¿”°´Å¥¡£
2.Ôړϵͳ±äÁ¿”ϵ¥»÷Ñ¡Ôñ“PATH”±äÁ¿£¬È»ºóµã»÷“±à¼­”°´Å¥£»ÔÚ“±äÁ¿Öµ”Ò»À¸µÄ×îÇ°ÃæÌí¼Ó“c:\Java\jd ......

JspÔËÐÐÔ­Àí

 
ÐèÒª¼ÇסµÄ֪ʶµã£º
1 ÇëÇóÓ¦´ðģʽ£¬¿Í»§¶Ë·¢ËÍÇëÇ󣬷þÎñÆ÷½øÐÐÏìÓ¦
2 JSPÎļþÊÇÔÚ·þÎñÆ÷¶ËÖ´ÐеÄ
3 ·µ»Ø¸ø¿Í»§¶ËµÄ½á¹ûÊÇJSPÎļþÖ´ÐеĽá¹û£¬²»°üº¬ÈκÎJSPÓï·¨
4 ÄÚ²¿¶ÔÏóÊÇÔÚ°ÑJSPÎļþת»»ÎªJava´úÂëµÄʱºòÉú³ÉµÄ
5 Ö´ÐеIJ¢²»ÊÇJSPÎļþ±¾Éí£¬¶øÊÇJSPת»»³ÉµÄJavaÀàµÄ¶ÔÏóµÄ·½·¨£¬ËùÒÔÓÐʱºòÐÞ¸ÄJSPÎļþ² ......

¡¾jsp¡¿jspÒ³Ãæ±í¸ñºÍ±íÍ·µÄÆ´½Ó

 ×öÁËÒ»¸öСģ¿é ÐèÒª ÔÚjspÒ³ÃæÉÏ°´ÕÕExcel±¨±í¸ñʽÏÔʾ±íÍ· ËäÈ»²»¸´ÔÓ µ«ÊǵÚÒ»´Î×ö Áô¸ö¼ÍÄî
ÕâЩ¶«Î÷¸ßÊÖµ±È»ÊDz»ÐèÒªÁË µ«ÊǶÔÓÚû×ö¹ýµÄ ¿ÉÄÜ»á¸øÄãÒ»µãµãÊÕ»ñ
ҪעÒâµÄÊÇ ±íÍ·µÄrowspanºÍcolspan ºáÊúҪƥÅä ²»È»ÏÂÃæÔÙÌí¼Ó ±í¸ñ»áÂÒ ÓÐɶ²»Çå³þµÄ »¶Ó­ÁôÑÔ
<%@ page language="java" pageEncoding="UT ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ