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

JSPÖÐforwardÓësedRedirectµÄÇø±ð

¶þÕßÇø±ðÊÇ£º
forwardʵ¼ÊÉÏÊÇÇëÇóÔÚ·þÎñÆ÷¶ËÌøת£¬ÇëÇó·½ÊǸÐÖª²»µ½ÕâÖÖÌøתµÄ£¬¶øsendRedirectÊÇÇëÇóÔÚ¿Í»§¶ËÌøת£¨±ÈÈçIE£©£¬µÈÓÚÔٴδӿͻ§¶Ë·¢ËÍÁËÒ»¸öÇëÇó£¬forwardÇé¿öÏÂÓû§ÔÚµØÖ·À¸ÀïÊÇ¿´²»µ½ÌøתºóµÄµØÖ·µÄ£¬sendRedirectÔò¿ÉÒÔ¿´µ½ÐµÄÇëÇóµØÖ·¡£


Ïà¹ØÎĵµ£º

ÔÚstruts2ÖдÓjspÒ³Ãæ´«Öµµ½actionÖÐ

1¡¢Í¨¹ý<s:form action="ÌøתҳÃæ">Ìá½»Öµ£¬µ«ÊÇÔÚ<s:form>±êÇ©ÖеÄactionºóÃæÖÁ¶àÖ»ÄܸúÒ»¸ö²ÎÊý£¬²¢ÇÒ»¹»á±¨¾¯¸æ£¬ËùÒÔÈç¹ûÏë´«µÝ²ÎÊý¿ÉÒÔÓÃ<s:hidden name="" values="username"></s:hidden>À´´«Öµ£¬µ«ÊÇÕý¹æµÄд·¨ÐèÒªÅäºÏ<s:set>±êÇ©À´Óà È磺
<s:set name="temp" value="¶¯Ì¬Öµ"&g ......

jspÒ³Ãæ¶àÎļþÉÏ´«£¨×ª£©

<html> 
<head id="Head1" runat="server"> 
    <title>ÎÞ±êÌâÒ³ </title> 
    <script type="text/javascript"> 
function MultiSelector(list_target, max) 

    // Where to write the list 
    ......

Java/JSPÖÐÎÄÂÒÂëÎÊÌâ½â¾öÐĵÃ

Java/JSPÖÐÎÄÂÒÂëÎÊÌâ½â¾öÐĵÃ
×Ô´Ó½Ó´¥JavaºÍJSPÒÔÀ´£¬¾Í²»¶ÏÓëJavaµÄÖÐÎÄÂÒÂëÎÊÌâ´ò½»µÀ£¬ÏÖÔÚÖÕÓڵõ½Á˳¹µ×µÄ½â¾ö£¬ÏÖ½«ÎÒÃǵĽâ¾öÐĵÃÓë´ó¼Ò¹²Ïí¡£
Ò»¡¢JavaÖÐÎÄÎÊÌâµÄÓÉÀ´
JavaµÄÄں˺ÍclassÎļþÊÇ»ùÓÚunicodeµÄ£¬ÕâʹJava³ÌÐò¾ßÓÐÁ¼ºÃµÄ¿çƽ̨ÐÔ£¬µ«Ò²´øÀ´ÁËһЩÖÐÎÄÂÒÂëÎÊÌâµÄÂé·³¡£Ô­ÒòÖ÷ÒªÓÐÁ½·½Ã棬JavaºÍJS ......

MysqlͨÓòéѯ²Ù×÷Àà(Jsp+servlet+javaBean+Mysql)

ÔÚÌÚ¿ÆÅàѵÁËÓÐ1¸ö°ëÔÂÁË£¬ÖÕÓÚѧÍêJSP+SERVLET+JAVABEAN+MYSQL£¬Ñ§ÁËjavaµÄµÚÒ»Ì×web½â¾ö·½°¸¡£ÀÏʦҪÇóÎÒÃÇ6ÈËÒ»×鿪ʼ×öÒ»¸ö¶©²Íϵͳ¡£Õâ¸öϵͳûÓÐʲôÌرðµÄ£¬¾Í¸úµç×ÓÉ̳ÇÊÇÒ»¸öÑùµÄ¡£ÓÉÓÚÒª¶ÔÊý¾Ý¿â×ö´óÁ¿µÄÔöɾ¸Ä²é£¬ÄǸö´úÂëÓֶ࣬ÎÒÏëÄܲ»Äܽ«Êý¾Ý¿â²Ù×÷µÄÕâÒ»²ã´ò°üÆðÀ´(SqlOperDao)£¬ÈÃÎÒ¶ÔÊý¾Ý¿â²Ù×÷£¬Óü¸Ðд ......

TomcatÏÂJSP¾­µäÅäÖÃʵÀý

µÚÒ»²½£ºÏÂÔØj2sdkºÍtomcat
µ½sun¹Ù·½Õ¾£¨http://java.sun.com/j2se/1.5.0/download.jsp£©ÏÂÔØj2sdk£¬×¢ÒâÏÂÔذ汾ΪWindows Offline InstallationµÄSDK£¬Í¬Ê±×îºÃÏÂÔØJ2SE 1.5.0 Documentation£¬È»ºóµ½tomcat¹Ù·½Õ¾µã£¨http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi£©ÏÂÔØtomcat£¨ÏÂÔØ×îÐÂ5.5.9°æ±¾µ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ