JSPÒ³ÃæÌøתȡֵÎÊÌ⡾¼±£¡£¡¼±¡¿ - Java / Web ¿ª·¢
ÔÚµ±Ç°Ò³Ã浯³öÁíÒ»¸öÒ³Ã棬ÈçºÎ»ñÔÚÁíÒ»¸öÒ³ÃæÖУ¬»ñÈ¡µ±Ç°Ò³ÃæµÄÖµ
µ¯³öÒ³ÃæµÄ ´úÂ룺 <a href= "../TrustlinkServlet?type=register " target= "_blank ">
Ìøµ½ servlet ÖеÄÈ¡Öµ ´úÂ룺
String username=request.getParameter( "UserName ");
String password=request.getParameter( "Password ");
JSP¶Ë´úÂ룺
<input name= "UserName " type= "text " class= "dataInput " id= "UserName " size= "30 " >
<input name= "Password " type= "password " class= "dataInput " id= "Password " size= "30 " >
µ«ÊÇÒ»µ÷ÊÔµ½servlet ÖеÄÈ¡Öµ ÄÇÒ»ÐУ¬¾ÍÏÔʾ Öµ Ϊ null¡£
ÄܸæËß½â¾ö·½·¨Ã´£¬£¿¼±£¬Ð»Ð»£¬¸÷λ¡£
ÇëÎÊÄãʲôʱºò´«ÁËUserNameºÍPassword
ûÓÐÍùservletÀïÃæû´«Öµà¸.!
дһ¸öjsº¯Êý, µ±µã»÷³¬Á´½ÓµÄʱºò,ÍùÄãÏÖÓеij¬Á´½ÓºóÃæ¼ÓÉÏusernameºÍpassword²ÎÊý.!»òÕßjsÀïÃæ¾ÍÖ±½Óд±íµ¥Ìá½», Ìύ·¾¶ÎªÄãÉÏÃæÄǸö!
ͬ¸Ð£¬Óó¬Á´½Ó´«Öµ°¡
- - ÎÒµÄusername ºÍ password ¶¼ÊÇ Óû§ÔÚÎı¾¿òÊ
Ïà¹ØÎÊ´ð£º
JSPÒ³ÃæÖÐÓжà¸öradio°´Å¥
JSPÒ³Ã潫²ÎÊýPOST¸øservlet
ÒªÇóÈçÏÂ;
1.Ñ¡ÔñÒ»¸öradio£¬µ÷ÓÃservlet servletÖиù¾Ý²ÎÊýµ÷ÓÃÆäËû½Ó¿Ú£¬³ý·ÇÑ¡ÖиÃradio²¢µã»÷JSPÖеÄʵР......
ΪʲôHTMLÒÔ¼°Ò»Ð©ÆäËü±êÇ©»áÏÔʾһЩÌض¨±íÏÖÐÎʽÄØ£¿ÈçHTMLÖеĻ»ÐбêÇ©<BR/>ÔڵײãÊÇÔõÑùʵÏÖµÄÄØ£¿ÏÖʵµÄÔÀíÊÇʲôÄØ
È¥W3C¹Ù·½ÍøÕ¾ÉÏ£¬¿´¿´°É£¡ÎÒÏëÒ»¿´Äã¾ÍÃ÷°×ÁË
ÎҲºͱàÒëÔÀíÓйأ¬ä¯ÀÀÆ÷Àï¿É ......
ÎÒÊǸöÐÂÊÖ£¬Íû¸ßÊÖ½â´ð
ÎÒÏÖÔÚÒѾ°²×°ÁËmysql£¬Ò²ÓÐmysqlµÄjdbc¡£µ«ÎÒÔõôÅäÖú󣬲ÅÄÜÔÚMyEclipseÀï²Ù×÷mysqlÄØ£¿Çë¸ßÊÖ˵Ïêϸµã
´ò¿ªMyeclipse----window---open perspective---MyEclipse database explorer-- ......
ʹÓÃjavaÔÚwindows7 32λÏÂÁ¬½ÓMSSQL¡£
Á½Ì¨»úÆ÷£¬windows7 32룬ÔÚ¿ØÖÆÃæ°åÀïÃæÈ«²¿ÉèÖÃÓïÑÔºÍÇøÓòÑ¡Ïenglish-unitedstates
ΨһÇø±ðÖ»ÓÐÔÚ°²×°SQL server 2008µÄʱºò Ñ¡ÔñµÄ×Ö·û¼¯²»Ò»Ñù£¬
exec sp_helpsor ......
È磺 @superwaring("unchecked");
Õâ¸öÀïÃ涼¿ÉÒÔÈ¡ÄÄЩֵ°¡£¬»¹ÓÐÀàËÆµÄ @superwaring±êÇ©ÓÐÄÄЩ°¡
ûÓùý¡£¡£
¿´jeeµÄapi
javax.persistenceÀï
@superwaring("unchecked");Ö»ÊǺöÂÔ ......