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

JSPÒ³Ãæ´«²ÎÂÒÂëÎÊÌâ - Java / Web ¿ª·¢

ºÜÆæ¹Ö£¬ÎÒ±¾µØÅܵÄûÎÊÌ⣬½»¸¶Ö®ºó¿Í»§·¢ÏÖJSPÒ³Ãæͨ¹ýURL´«²Îµ½ÁíÍâÒ»¸öJSPÒ³ÃæµÄʱºò³öÏÖÁËÂÒÂë
²»¹ý¸üÆæ¹ÖµÄÊÇ£¬Ç°2¸öºº×ÖÕý³££¬´ÓµÚ3¸öºº×Ö¿ªÊ¼ÂÒÂ룡

Ë­Óнâ¾ö·½°¸
url = URIEncode(url)

È¥ÎÒµÄÎÄÕ¿´Ò»ÏÂרÃÅ˵Õâ¸öÎÊÌâµÄ.


urlÉÏÃæ´«ºº×ÖÐèÒªurl±àÂëµÄ.!
¿ÉÒÔÓÃURLEcodingÀàÈ¥±à,Ò²¿ÉÒÔÓÃjsÖеÄencodingURIÈ¥±àÂë

ÊÇgetÇëÇóô£¬ÄÇô¾ÍÕâÑùurl = URIEncode(url)

Ò³Ãæ×ö±àÂë´¦ÀíµÄ»°£¬½ÓµÄÒ³ÃæÒª·´Ïò´¦ÀíµÄ£¬Ö÷ÒªÎÊÌâÔÚÓÚÔÚÎҵĻúÆ÷ÉÏÊǺõģ¬µ«ÊÇ¿Í»§ÄDZßÓÐÎÊÌâ

¹ýÂËÆ÷£¡ÍøÉÏËѸö£¡¶àµÄºÜµÄ£¡

ÎÒÏÖÔÚÒ²ÔÚѧjsp£¬½øÀ´Ñ§Ï°Ñ§Ï°~~

ÏÈURLEncoder.encode();½ÓÊÕʱÔÙnew   String()½øÐÐתÂ룬ÖÁÓÚÂ¥Ö÷˵µÄ±¾»ú¿ÉÒÔ£¬¿Í»§ÄǶù²»ÐУ¬¿ÉÄÜÊÇÉèÖñàÂëµÄÎÊÌâŶ

ÂÒÂëºÜºÃ½â¾öµÄ

д¸ö¹ýÂËÆ÷²»¾ÍÍêÁËÂð


¹ýÂËÆ÷Ôç¾Í¼ÓºÃÁË£¬ÔÚÎÒ±¾µØÊÇûÓÐÎÊÌâµÄŶ

urlÉÏÃæ´«ºº×ÖÐèÒªurl±àÂëµÄ.!
¿ÉÒÔÓÃURLEcodingÀàÈ¥±à,Ò²¿ÉÒÔÓÃjsÖеÄencodingURIÈ¥±àÂë
¶¥¡£
{{


Ïà¹ØÎÊ´ð£º

java swing ³ÌÐòÈçºÎ´ò°ü - Java / JavaÏà¹Ø

java swing ³ÌÐòÈçºÎ´ò°ü³Éjar£¬È»ºó¿ÉÒÔͨ¹ýÅú´¦ÀíÎļþbatÖ±½ÓÔËÐУ¬ÓÐûÓÐʲô¹¤¾ßÖ±½Ó¿ÉÒÔÍê³ÉÕâÁ½¸ö¹¤×÷£¿
ÓÃjar´ò°ü£¬°ÑÔËÐÐÐèÒªµÄjar¿½±´µ½Ò»¸öĿ¼£¬Åú´¦ÀíÓà start javaw -cp .;ÆäËû°ü·¾¶ ÔËÐÐ

ÓÃzip ......

javaÖеÄ×¢½â¿ÉÒÔÓÐÄÄЩ£¿ - Java / Java EE

È磺 @superwaring("unchecked");
Õâ¸öÀïÃ涼¿ÉÒÔÈ¡ÄÄЩֵ°¡£¬»¹ÓÐÀàËÆµÄ @superwaring±êÇ©ÓÐÄÄЩ°¡
ûÓùý¡£¡£

¿´jeeµÄapi
javax.persistenceÀï
@superwaring("unchecked");Ö»ÊǺöÂÔ ......

c/sºÍb/sÖ®¼äÔõôͨѶ. - Java / Web ¿ª·¢

ÔھƵê¹ÜÀíϵͳÖÐ,ÓÐÒ»¸ö¶ÔÄÚµÄϵͳ,¹©Ç°Ì¨·þÎñÔ±ºÍ¾­ÀíʹÓÃ
»¹ÓÐÒ»¸ö¾ÍÊǶÔÍâ,Èÿͻ§¿ÉÒÔÔÚÍøÉÏÔ¤¶©·¿¼ä,
ËüÃÇÖ®¼äÊÇÔõôͨѶµÄ.?µ±ÎÒÌá½»Ô¤¶©·¿¼äÐÅÏ¢µÄʱºò,
ÔÚ¶ÔÄÚµÄϵͳÖÐ,ÈçºÎÖªµÀÎÒÒѾ­Ìá½»ÁËÐÅÏ¢¹ýÈ¥.Ê¹Ç ......

mysqlµÄ¸üÐÂÓï¾ä - Java / Java SE

id name datetime
1 a 2010-05-13 10:15:00
2 b 2010-05-14 09:10:00
3 d 2010-05-14 10:10:00
ÈçºÎ½«¾àÀëÄ¿Ç°×î½üµÄÄǸö¼Ç¼µÄname ¸üÐÂΪ¡°x¡±ÄØ
лл¿© °¡ ºÇºÇ
update table_n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ