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

JSP£«mySQLµÄ×Ö·ûÎÊÌâ - Java / Web ¿ª·¢

JSPÍøÕ¾µÄÐÂÎŹÜÀíÄ£¿é¡£
ºǫ́±à¼­ÐÂÎÅÒ³£¬´ÓÊý¾Ý¿âÖжÁ³öÐÂÎűêÌâ¡¢ÄÚÈݵȣ¬ÏÔʾÕý³££¬
±à¼­ºó¸üУ¬È»ºóÔÚǰ̨ä¯ÀÀÐÂÎŵÄÍøÒ³Öп´£¬ÖÐÎÄÈ«ÊÇÂÒÂë¡£
²»ÊÇ????ÄÇÖÖÂÒÂ룬¶øÊǺÜÆæ¹ÖµÄÏñ·½¿é×ֵĶ«Î÷¡£
È«Õ¾¶¼Ê¹ÓõÄUTF-8¸ñʽ£¬Êý¾Ý¿âÉèÖÃÒ²¶¼ÊÇÕâÖÖ¡£
ÎÊÌâÊÇÔÚÄÄÀïÄØ£¿
String µÄsubString·½·¨½ØÈ¡×Ö·û´®Ê±£¬ÒòΪÖÐÎÄÕ¼Á½Î»£¬Èç¹ûÇ¡ºÃ°ÑÒ»¸ö×Ö´ÓÖмä½Ø¿ª£¬¾ÍÓпÉÄܳöÏÖÂÒÂ룬
²»ÖªÂ¥Ö÷ÊDz»ÊÇÕâÖÖÇé¿ö

ÔÚjspÒ³ÃæÖеÚÒ»¾äÓÐûÓÐ<%@page contentType="text/html;charset=gbk"%>Õâ¾ä£¿£¬Ã»ÓмÓÉÏÊÔÊÔ

ÒýÓÃ
JSPÍøÕ¾µÄÐÂÎŹÜÀíÄ£¿é¡£
ºǫ́±à¼­ÐÂÎÅÒ³£¬´ÓÊý¾Ý¿âÖжÁ³öÐÂÎűêÌâ¡¢ÄÚÈݵȣ¬ÏÔʾÕý³££¬
±à¼­ºó¸üУ¬È»ºóÔÚǰ̨ä¯ÀÀÐÂÎŵÄÍøÒ³Öп´£¬ÖÐÎÄÈ«ÊÇÂÒÂë¡£
²»ÊÇ????ÄÇÖÖÂÒÂ룬¶øÊǺÜÆæ¹ÖµÄÏñ·½¿é×ֵĶ«Î÷¡£
È«Õ¾¶¼Ê¹ÓõÄUTF-8¸ñʽ£¬Êý¾Ý¿âÉèÖÃÒ²¶¼ÊÇÕâÖÖ¡£
ÎÊÌâÊÇÔÚÄÄÀïÄØ£¿

°üÀ¨ÍøÒ³£¬³ÌÐò¶ÁÈ¡µÄ¹ýÂËÆ÷,tomcat·þÎñÆ÷±àÂ룬ÒÔ¼°Êý¾Ý¿â±àÂ붼ÉèÖÃÁË£¿
------------
½¨ÒémysqlÊý¾Ý¿âʹÓÃgb2312±àÂ룬»¹ÓÐÎÒ»³ÒÉÊÇÄãÔÚ¶ÁÈ¡Êý¾Ý¿âµÄʱºòûת»»Ò»Ï±àÂë³Éutf-8¸ñʽ¡£

Èç¹ûÊý¾Ý¿âÊÇÕýÈ·µÄ
ÄǾÍÊÇä¯ÀÀÆ÷ΪÄܹ»Ê¶±ðÄãµÄ×Ö·û±àÂë

ÄãÊý¾Ý¿âµÄ±àÂ뼯ĬÈϲ»¶Ô¡£¡£ËùÒÔÏÔʾµÄÊÇÂÒÂë¡£¡£Äã°ÑÄãÒª»ñµÃµÄÊý¾Ý½øÐÐÖÐÎÄ´¦Àí¡£¡£

ÄãÔÚÒ³ÃæºÍºǫ́·Ö±ð¶ÔÄÚÈݽøÐбàÂëºÍ½âÂë¾ÍÓ¦¸ÃûÓÐÎÊÌâÁË¡£
Ò³ÃæÒªÊÇÓÃstruts2¿ò¼ÜµÄ»°ÓпÉÓõıàÂë·½·¨£¬ÄãÕÒÕÒ°ïÖúÎĵµ¡£
ºǫ́Óà java.net ÖÐÓз½·¨¡£


tomcatµÄ±àÂëÉèÖÃÁËûÓа¡£¬ÉèÖÃΪutf-8


±à¼­ºóÊý¾Ý¿âÓÐûÓгöÏÖÂÒÂëÄØ£¿Ã»ÓеĻ°£¬Ó¦¸ÃÊÇä¯ÀÀÒ³Ãæ±àÂ


Ïà¹ØÎÊ´ð£º

C/SÏîÄ¿¼Ü¹¹Éè¼Æ----ÇóÖú - Java / Java SE

±¾ÈËÕýÔÚÓÃJava×öÒ»¸öC/S¼Ü¹¹µÄÏîÄ¿£¬ 
¿ÉÊÇÓÉÓÚÏîÄ¿±È½Ï´ó£¬Ç°ÆڶԼܹ¹µÄÉè¼ÆÓÈÆäÖØÒª£¬ÒòΪºóÆÚ¿ÉÄÜËæʱ»á¼Ó¸ö¹¦ÄÜ»òÕßÈ¥µôijЩ¹¦ÄÜ¡£ 
ËùÒÔÌصØÑ°ÇóÈçºÎÉè¼ÆC/SµÄ¼Ü¹¹Ê¹³ÌÐò¸ü¼ÓÃæÏò¶ÔÏó¸ü¼ÓÒ×ÓÚά ......

¹ØÓÚAJAXºÍJSPµÄһЩСÎÊÌâ¡« - Java / Web ¿ª·¢

ÎÒJSPµÄÒ³ÃæÊÇ£º
<%@ page language="java" contentType="text/html; charset=gb2312"
  %>
<script>
function Save(){
xmlHttp=GetXmlHttpObject()
if(xmlHttp==nul ......

java ÇóÖú - Java / Java EE

insert into [ScholarshipManagement].[dbo].[department] ([department],[specialization] ,[grade]) output inserted.departmentID values(? ,? ,? )
ÇëÎÊ´ó¸çÃÇÕâ¸ösql Óï¾äÓ¦¸ÃÓÃJavaÀïµÄÄǸöÊý¾Ý¿â²Ù×÷·½·¨£¿ ......

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 ......

Ä£Äâ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ºÅ