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

jsp ´æºº×Öµ½mysql³öÏÖÂÒÂë - Java / Web ¿ª·¢

ÎÒÔÚÒ³Ãæ»ñÈ¡µÄºº×Ö£¬Í³±àÂ붼ÊÇGBK£¬Êý¾Ý¿â±àÂëÒ²ÊÇGBk£¬Êý¾Ý¿âÁ¬½Ó×Ö·ûÒ²Ö¸¶¨defaultEncoding=gbk  
request.setCharacterEncoding("GBK");Ò²ÓÃÁË£¬²¢ÔÚÆÁÄ»ÉÏÊä³öҲû³öÏÖÂÒÂ룬µ«ÊÇÒ»´æ½øÊý¾Ý¿â¾Í³öÏÖÂÒÂëÁ˵«´æ½øÊý¾Ý¿âµÄºº×Ö¾ÍÊÇÒ»¶ÑÎʺš£Ï£Íû´ó¼Ò°ï°ï棻
ÄãÓõÄʲô»·¾³?

´ÓÊý¾Ý¿âÀï¶Á³öÀ´µ½Ç°Ì¨»áÂÒÂëÂð?

´Óºǫ́¶Á²»ÂÒÂ룬¸üÐÂʱ»ò²åÈëʱ»á³öÏÖÂÒÂë¡£ÎÒÓÃNEtbeans

ÕⶫÎ÷»ù±¾¿ÉÒÔËãûÓùý, ÓÃmyeclipse¶¼.! ÄǹÀ¼ÆÊÇÄã»·¾³µÄÎÊÌâÁË.!

½¨ÒéÓÃutf-8ÊÔÊÔ

ÒýÓÃ
ÕⶫÎ÷»ù±¾¿ÉÒÔËãûÓùý, ÓÃmyeclipse¶¼.! ÄǹÀ¼ÆÊÇÄã»·¾³µÄÎÊÌâÁË.!
¶Ô½¨ÒéÄãÓÃMyeclipse£¬²¢ÇÒÏÖÔÚ¹«Ë¾¿ª·¢¶¼ÊÇÓõÄMyEclipseÁË!



Õâ¸öÎÊÌâÎÒÒ²Óöµ½¹ý
²é³öÀ´ÏÔʾûÎÊÌâ ´æ½øÈ¥¾ÍÂÒÂë
±àÂëÿ¸öµØ·½¶¼Éè¼ÆÁË.
¼ÇµÃÎÒÕâÑùŪµÄ
String name=request.getParameter("name");
name=new String(name.getBytes("ISO8859_1");
È»ºó´æ½øÈ¥¾ÍûÎÊÌâÁË

ÆäʵÂÒÂë×î¼òµ¥µÄ½â¾ö°ì·¨ÊÇŪ¸öfilter
ÒÔºó¾Í¿ÉÒÔ¸ßÕíÎÞÓÇÁË..

ͼƬÔõô²»ÏÔʾÄØ





Á½¸ö»·¾³²»Ò»Ñù£¬¸Ä³ÉÒ»ÑùµÄÊÔÊÔ¡£

ÄãÔÚ°²×°Êý¾Ý¿âµÄ¹ý³ÌÖÐûÓÐÉèÖÃ×Ö·û±àÂ룬ÕýÈç10Â¥ÄǸöͼÄÇÑùÉèÖá£
ÉèÖÃÍêÖ®ºóÓ¦¸Ã¾ÍûÎÊÌâÀ²

ºÜÎÞÁ¦µÄ˵£¬´ÓÂòÕûºÃ¹ýÕâСÊý¾Ý¿âµÄÂÒÂëÎÊÌ⡣ʵ¼Ê¿ª·¢Ò²Ã»ÓùýËü£¬Ò»Ö±ÊÇÓü׹ÇÎÄ¡£

Mysql ÖгýÁË¿â¡¢±íÒÔÍ⣬ÿ¸ö×Ö¶ÎÒ²ÊÇ¿ÉÒÔµ¥¶ÀÉèÖñàÂëµÄ£¬Â¥Ö÷¿´¿´¾ßÌå×ֶεıàÂëÊDz»ÊÇÓÐÎÊÌâ

Èç¹ûÊý¾Ý¿âÂÒÂëµÄ»°Ê¹ÓÃ10#µÄ·½·¨£¬Èç¹ûÒ³ÃæÂÒÂëµÄ»°;
ÔÚÒ³ÃæÉϼӸörequest.setCharacter


Ïà¹ØÎÊ´ð£º

tomcat»·¾³ÏÂjsp±àÒë´íÎó£¬Çó½â£¡ - Java / Web ¿ª·¢

org.apache.jasper.JasperException: Unable to compile class for JSP: 
An error occurred at line: 52 in the jsp file: /vip_info.jsp
ÕË cannot be resolved
49: <table border="1& ......

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

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

jspºÍtomcatÎÊÌ⣬¿ì·èÁË - Java / Java EE

ÎÒдÁ˸öjspÒ³Ã棬Ȼºó¸Ä¶¯ÁËһϣ¬¸Ä¶¯µÄÄÚÈݾÍÊÇÔÚjspÒ³ÃæµÄjsº¯ÊýÀï¼ÓÁ˸öalert()Óï¾ä£¬µ«ÊÇÎÒ·ÃÎÊÕâ¸öÒ³Ãæʱ£¬ËÀ»î¶¼ÊÇÔ­À´Ò³ÃæµÄÄÚÈÝ£¬ÎÒ¼ÓÁ˺ܶàalertº¯Êý»¹ÊÇû¸Ä¶¯Ç°µÄÒ³ÃæÄÚÈÝ£»tomcatÖØÆôÁË£¬Ò²ÖØв¿ÊðÕâ ......

mysql ÀÛ¼ÓÔËËã - ÆäËûÊý¾Ý¿â¿ª·¢ / MySQL/Postgresql

sp ³ÌÐò
delimiter //
create procedure ma()
begin
declare i int default 0;
while i<11 do
set i=i+1;
select i;
end while;
end //
delimiter ;
1+2+...+9+10
ΪʲôÕâ¸ö³ÌÐòÎÞ·¨ÊµÏÖÀÛ¼ÓЧ¹û
/ ......

Ä£Äâhref µÄ cssÑùʽ - Java / Web ¿ª·¢

ÏÖÔÚ²»ÏëÓÃ<a> </a> ±êÇ© £¬ÒòΪµã»÷ºó»á³öÏÖÒ³ÃæÖض¨Î»£¬¸øÎÄ×Ö¼ÓÉÏcssÑùʽ¾Í¿ÉÒÔ¿´ÆðÀ´ ÊÇhrefÔõôʵÏÖÕâÑùµÄcss
text-decoration:underline; cursor:hand;

ÒýÓÃ
text-decoration:underline; cur ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ