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

myeclipse²¿ÊðwebÏîÄ¿ ÎÞjsp Ö»ÓÐlib

ͨ¹ýServerÊÓͼ²¿ÊðwebÏîĿʱ£¬ÓÐʱ»á·¢ÏÖ£¬tomcatµÄ webappsĿ¼Ï£¬ÏîÄ¿Îļþ¼ÐÖУ¬Ö»ÓÐweb-infÎļþ¼Ð£¬²¢ÇÒÀïÃæÖ»ÓÐlibÎļþ¼Ð£¬Õâʱ£¬Ö»Òª½øÈë¹¹½¨Â·¾¶´°¿Ú£¬Ñ¡ÔñsourceÑ¡Ï£¬È»ºó½«³ýÁËsrcÍâµÄÆäËûɾ³ýµô£¬´Óв¿ÊðÒ»ÏÂÏîÄ¿¾Í¿ÉÒÔÁË£¬×îºóֻʣÏÂsrcÎļþ¼Ð£¬O(¡É_¡É)O~²»ÖªµÀÈçºÎ´«Í¼Æ¬£¬ËùÒÔ¡­..


Ïà¹ØÎĵµ£º

jspÁ¬½Ó¸÷ÖÖÊý¾Ý¿â´óÈ«

ÏÖÔÚÓкöà³õѧJSPµÄÍøÓѾ­³£»áÎÊÊý¾Ý¿âÔõôÁ¬½Ó°¡£¬ÔõôÀϳö´í°¡£¿ËùÒÔÎÒ¼¯ÖеÄÔÚÕâдƪÎÄÕ¹©´ó¼Ò²Î¿¼£¬ÆäʵÕâÖÖ°ÑÊý¾Ý¿âÂß¼­È«²¿·ÅÔÚjspÀïδ±ØÊǺõÄ×ö·¨£¬µ«ÊÇÓÐÀûÓÚ³õѧÕßѧϰ£¬ËùÒÔÎÒ¾ÍÕâÑù×öÁË£¬µ±´ó¼Òѧµ½Ò»¶¨³Ì¶ÈµÄʱºò£¬¿ÉÒÔ¿¼ÂÇÓÃMVCµÄģʽ¿ª·¢¡£ÔÚÁ·Ï°ÕâЩ´úÂëµÄʱºò£¬ÄãÒ»¶¨½«JDBCµÄÇý¶¯³ÌÐò·Åµ½·þÎñÆ÷µÄÀà·¾ ......

¡¾×ª¡¿JSP +TomcatÊý¾Ý¿â·ÃÎÊ

JSP +Tomcat
Êý¾Ý¿â·ÃÎÊ
 
×÷ÕߣºÁõÖ¾Ô¶
 
 
ÔÚÒ»°ãµÄ
Web
ÏîÄ¿¿ª·¢ÖУ¬¶ÔÊý¾Ý¿âµÄ·ÃÎÊÊDZز»¿ÉÉٵģ¬±¾ÎÄÖ÷Òª½éÉÜÁ½ÖÖÔÚ
ʹÓÃ
Tomcat
×÷Ϊ
Web
·þÎñµÄ
JSP
¿ª·¢ÖзÃÎÊÊý¾Ý¿âµÄ·½·¨£¬Ï£ÍûÄܶԸսӴ¥
JSP
¿ª·¢µÄÅóÓÑÓÐËù°ïÖú¡£
ÓÃ
¹ý
.NET
ƽ̨µÄÅóÓÑÓ¦¸ÃÖªµÀ£¬ÏîÄ¿ÖÐÐèÒª·ÃÎÊÊý¾Ý¿âʱ£ ......

Ä¿Ç°×îºÃµÄJSP·ÖÒ³¼¼Êõ

Ç°ÑÔ
ÔÚʹÓÃÊý¾Ý¿âµÄ¹ý³ÌÖУ¬²»¿É±ÜÃâµÄÐèҪʹÓõ½·ÖÒ³µÄ¹¦ÄÜ£¬¿ÉÊÇJDBCµÄ¹æ·¶¶Ô´ËȴûÓкܺõĽâ¾ö¡£¶ÔÓÚÕâ¸öÐèÇóºÜ¶àÅóÓѶ¼ÓÐ×Ô¼ºµÄ½â¾ö·½°¸£¬±ÈÈçʹÓÃVectorµÈ¼¯ºÏÀàÏȱ£´æÈ¡³öµÄÊý¾ÝÔÙ·ÖÒ³¡£µ«ÕâÖÖ·½·¨µÄ¿ÉÓÃÐԺܲÓëJDBC±¾ÉíµÄ½Ó¿ÚÍêÈ«²»Í¬£¬¶Ô²»Í¬ÀàÐ͵Ä×ֶεÄÖ§³ÖÒ²²»ºÃ¡£ÕâÀïÌṩÁËÒ»ÖÖÓëJDBC¼æÈÝÐԷdz£ºÃµÄ·½°¸ ......

JSP requestËùÓз½·¨Àý×Ó

<%
//header.jsp
out.println("Protocol: " + request.getProtocol() + "<br>");
out.println("Scheme: " + request.getScheme() + "<br>");
out.println("Server Name: " + request.getServerName() + "<br>" );
out.println(&quo ......

JSP±Ê¼Ç

JSPÔªËØ°üÀ¨£º1¡¢½Å±¾ÔªËØ£¨ÓïÑÔΪJava£¬Ê¹ÓÃJava´úÂë¹æ·¶¡£ÆäÖÐ<%!ÉùÃ÷£¨±äÁ¿¡¢·½·¨£©%><%=±í´ïʽԪËØ%><%³ÌÐò´úÂë%>£©
2¡¢Ö¸ÁîÔªËØ£ºÖ¸¶¨ÍøÒ³ÖеÄÖ¸ÁîÈçºÎ±»Ö´ÐУ¬°üÀ¨pageºÍinclude¡£
3¡¢¶¯×÷ÔªËØ£ºÁ¬½ÓÒªÓõÄ×é¼þ£¬ÈçJavaBean(useBean¡¢get/setProperty£©£¬»¹ÓÐparam¡¢forward¡¢include¡£
include ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ