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

ÇóÒ»¸öjspºÍservletµÄ½â¾ö·½·¨

´ó¼ÒºÃ£¡ÎÒÏÖÔÚÔÚ×öÒ»¸öÍøÉÏÊéµê£¬Óöµ½Ò»Ð©ÎÊÌ⣬ÇóÖúÏ£º

ÒªÇóÊÇÕâÑùµÄ£º

°ÑÒ»±¾ÊéÍϽøÒ»¸ö¹ºÎï³µ£¬¹ºÎï³µ¾Í¶àÁËÕâ±¾Ê飬

´Ó¹ºÎï³µÍϳöÒ»±¾Ê飬Ȼºó¹ºÎï³µ¾ÍÉÙÁËÕâ±¾Ê飻

¸ßÊÖÇëÖ¸µãÏ£¬Ð»Ð»£¡£¡£¨Ë­ÄÜ×ö³ö£¬50·ÖÈ«²¿¸øËû£©



Õâ±¾ÊéÂòÁ˲»Ö¹Ò»±¾ Õ¦Õû


¹ºÎï³µÊÇÒ»¸öMap <BOOK,Integer>
µ±Õâ±¾Êé·Å½ø¹ºÎﳵʱҪÅжÏÊÇ·ñ´æÔÚ£¬´æÔÚÔòÊýÁ¿Ïà¼Ó£¬
²»´æÔÚ¾ÍÖ±½Ó·Å½ø¹ºÎï³µ£¬ÊýÁ¿Ä¬ÈÏΪ1

"°ÑÒ»±¾ÊéÍϽøÒ»¸ö¹ºÎï³µ£¬¹ºÎï³µ¾Í¶àÁËÕâ±¾Ê飬

´Ó¹ºÎï³µÍϳöÒ»±¾Ê飬Ȼºó¹ºÎï³µ¾ÍÉÙÁËÕâ±¾Ê飻"
"ÍÐ"...

ÓüüÖµ¶ÔµÄ¼¯ºÏ

°ÑÄãÓöµ½µÄÎÊÌ⣬ϸ»¯¡£ÔÙÎÊ£¬·º·ºµÄ²»ºÃ»Ø´ð¡£ÔÙ˵£¬»Ø´ðÄãµÄÎÊÌâ²»¹âÊÇΪÁË·ÖÊý£¬¶øÊÇ»¥Ïà°ïÖú¡£

¾­µäµÄ¹ºÎï³µµÄÎÊÌ⣬ÓÃHashmap¿ÉÒÔ
½¨ÒéÂ¥Ö÷¿ÉÒԽ豾  TomcatÓëjava web¿ª·¢¼¼ÊõÏê½â
¿´¿´£¬Õâ±¾ÊéÉÏÃæ¾ÙµÄÀý×Ó¾ÍÊÇÒ»¸öÍøÉϹºÎï³µ

²»Ã÷°×ʲôÒâ˼£¬ÊÇÎÊÄÄ·½ÃæµÄ£¬ÊÇÍÏÕâ¸ö¶¯×÷ÔõôÍê³ÉÄØ£¬»¹ÊÇÆäËüµÄÎÊÌ⣿

ÒýÓÃ
²»Ã÷°×ʲôÒâ˼£¬ÊÇÎÊÄÄ·½ÃæµÄ£¬ÊÇÍÏÕâ¸ö¶¯×÷ÔõôÍê³ÉÄØ£¬»¹ÊÇÆäËüµÄÎÊÌ⣿

¾ÍÊǵ±ÄãÍÏÕâ±¾Êéʱ£¬ËüÐ⻶¯£¬Éñ¶¯
µ±ÄãÊó±ê·Åµ½¹ºÎï³µÉÏʱ
¹ºÎï³µ¾Í¶àÁËÕâ±¾Êé

Õâ¸öÒªÓõ½JSµÄ£¬Èç¹ûʹÓÃAjaxµÄ»°¹ºÎï³µ¿ÉÒÔ±£´æÔÚ·þÎñÆ÷ÉÏ£¬²»ÓõĻ°¾ÍÐèÒª±£´æÔÚ±¾µØcookieÉÏÁË£¬²»ÊÇJSPºÍServletÄܽâ¾öµÄ¡£

ÒýÓÃ
°ÑÄãÓöµ½µÄÎÊÌ⣬ϸ»¯¡£ÔÙÎÊ£¬·º·ºµÄ²»ºÃ»Ø´ð¡£ÔÙ˵£¬»Ø´ðÄãµÄÎÊÌâ²»¹âÊÇΪÁË·ÖÊý£¬¶øÊÇ»¥Ïà°ï


Ïà¹ØÎÊ´ð£º

JSPÈÕÆÚ

ÔÚASPϵıäÁ¿£¬Èç¡°2009-09-09¡°£¬×÷Ϊ²ÎÊý£¬´«ÈëJSPº¯ÊýÄÚ£¬±äΪÂÒÂ룬ÇëÎÊÈçºÎ½â¾ö

asp´«µ½jsp?ûÅö¹ý...up up

¸ñʽ»¯°¡£¡

ASPÖÐÈÕÆÚÊDz»ÊÇÒÔ×Ö·û´®µÄÐÎʽ´«ÈëJSPº¯ÊýÖеģ¿
Èç¹û²»ÊÇ×Ö·û´®µÄ»°£ ......

JSP³öEXCEl±¨±íÖÐÎÄÃû³ÆÂÒÂë

ÎÒÔÚʹÓÿªÔ´µÄJXL ³öEXCEL±¨±íʱÓöµ½ÕâÑùµÄÎÊÌâ¡£
ÎÒÏë³öµÄÎļþÃû³ÆÊÇÕâÑùµÄ£ºÀý£ºtest_ÀîÇ¿.xls
´úÂëÊÇ ....test_+"UserID"+".xls";
µ«ÊÇ¿ØÖÆ̨ÎÒ¿´µ½µÄÊä³öÃû³ÆЧ¹ûÊÇ£ºtest_µ ......

JSP Ñé֤ͼÏÔʾ´íÎó

ÓÃͨ¹ýseverletÅäÖõÄÑé֤ͼÏÔʾ²»³öÀ´£¬¶øÓÃJSP×öµÄͼûÎÊÌ⣬¹À¼ÆÊÇWEB.XMLÅäÖÃÓÐÎÊÌ⣬Çó½Ì¸ßÊÖ£¬
ÊDz»ÊÇseverletÇëÇó±»ÆäËûFilterÀ¹½ØÁË£¿

Éú³ÉÑé֤ͼƬµÄJAVAÀà
Java code
package com.ding ......

JSP´æÈëÊý¾Ý¿â

ÎÒÊÇÓÃSTRUTS £¬×öÁËÒ»¸öJSPÒ³Ã棬Ìá½»ºóûÓдæÈëÊý¾Ý¿â¡£
JSP´úÂëÈçÏ£º
aa.jsp´úÂë
<%@ page contentType="text/html;charset=gb2312" language="java"%>
<%@ taglib uri=" ......

ÇóÖújspÖÐÔËÐÐJavabeanÎÊÌâ

SetGetPropertytest.jspÔ´´úÂëÈçÏ£¬Ð»Ð»´ó¼ÒÇ°À´°ï棬ͬʱף´ó¼ÒÖÐÇï¿ìÀÖ
<%@ page c%>
<HTML>
<HEAD>
<TITLE>setProperty¶¯×÷ÓëgetProperty¶¯×÷·¶Àý </TITLE> ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ