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

jsp»º´æ´¦Àí

½ñÌì×ÜËã°Ñ
response.setHeader("progma", "no-cache");
            response.setHeader("Cache-Control", "no-cache");
            response.setDateHeader("Expires", 0);Àí½âÁË¡£
//·¢ÏÖÎÊÌâÊÇÕâÑùµÄ
µ±ÎÒµã»÷ijһ¸öʵÌåʱ£¬×ª·¢µ½Ò»¸öÏêϸµÄÒ³Ã棬Õâ¸öÒ³Ãæ°üº¬ÁËÒ»¸öÓÃÓڼǼ·ÃÎÊ´ËÒ³ÃæµÄÈËÊýµÄÎı¾¿ò£¬
Ð޸Ĵ˷ÃÎÊÈËÊýºó£¬ÔÙÒ»´Îµã»÷´ËʵÌ壬תµ½´ËÏêϸҳÃæºó£¬·ÃÎÊÈËÊýûÓиı䣬(Êý¾Ý¿âÖÐÒѾ­¸üÐÂ)£¬×îºó
ÎҰѵã»÷´ËÁ´½ÓµÄActionÖеķ½·¨µ÷³öÀ´£¬¼ÓÁËÉÏÃæ3ÌõÓï¾ä£¬½á¹ûOKÁË¡£Ì«¸ÐлÕâ3ÌõÓï¾äµÄ×÷ÓÃÁË¡£


Ïà¹ØÎĵµ£º

JspÖеÄrequest¶ÔÏó

     request¶ÔÏóÊÇjavax.servlet.HttpServletRequestÀàµÄÒ»¸ö×ÓÀà¶ÔÏ󣬵±¿Í»§¶ËÇëÇóÒ»¸öJspÒ³ÃæÊÇ£¬JspÈÝÆ÷»á½«¿Í»§¶ËµÄÇëÇóÐÅÏ¢°ü×°ÔÚÕâ¸ö¶ÔÏóÖУ»¸Ã¶ÔÏóÖеij£Ó÷½·¨ÈçÏ£º
getParameter(String name)£ºÒÔ×Ö·û´®µÄÐÎʽ·µ»Ø¿Í»§¶Ë´«À´µÄijһ¸öÇëÇó²ÎÊýµÄÖµ£¬²ÎÊýÃûÓÉnameÖ¸¶¨
getParameterNames() ......

ÔÚLinuxÏ´ jsp »·¾³ÅäÖÃ

ºìÆì×ÀÃæLinux4.1Ï°²×°ºÍÅäÖÃJSP·þÎñÆ÷È«¹¥ÂÔ
ÕâÁ½ÌìÊÔ×ÅÔÚºìÆìLinux×ÀÃæ°æ4.1Ï°²×°WEB·þÎñÆ÷£¬Òѳɹ¦°²×°£¬ÏÖ°ÑÎҵݲװ¹ý³Ì½éÉÜÈçÏ£¬ÒÔ¸øÓÐÏàËÆÐèÇóµÄÍøÓѲο¼¡£
ÎҵݲװҪÇóÊÇÖ§³ÖJSP¡¢html¡¢htmÍøÒ³£¬ËùÒÔÑ¡ÓÃJDK1.5.0+Tomcat5.5.4+mySQL4.1.7£¬ÕâЩ¶¼Êǵ±Ç°¸÷Èí¼þ×îеÄÎȶ¨°æ±¾£¨·Ç²âÊ԰棩¡£ÔÝûÓа²×°Apacheº ......

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

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

¡¾×ª¡¿JSP/ServletÖеıàÂë

    Ê×ÏÈ£¬ËµËµJSP/ServletÖеļ¸¸ö±àÂëµÄ×÷Óá£
ÔÚJSP/ServletÖÐÖ÷ÒªÓÐÒÔϼ¸¸öµØ·½¿ÉÒÔÉèÖñà Â룬pageEncoding="UTF-8"¡¢contentType="text/html;charset=UTF-8"¡¢request.setCharacterEncoding("UTF-8")ºÍ response.setCharacterEncoding("UTF-8")£¬ÆäÖÐÇ°Á½¸ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ