JSPÍøÕ¾ÒÆÖ² - Java / Web ¿ª·¢
ÎÒͬѧÓÃMyEclipse×öµÄÒ»¸öÍøÕ¾´«À´¸øÎҵģ¬ÔÚËûÄDZßÄÜÔËÐС£ÎÒµ¼Èëµ½ÏîÄ¿£¬Êý¾Ý¿âÒ²¸½¼ÓÁË(SP4²¹¶¡)£¬tomcatÒ²Æô¶¯ÁË£¬·¢²¼ÒԺ󣬽øÈëÒ³ÃæûÎÊÌ⣬µ«ÊÇÖ»ÒªÊÇÉè¼Æµ½Êý¾Ý¿âµÄÒ³Ã棬ȫ¶¼Êǿհ׵ģ¬ÍøÉϲéÁËÐèÒªÐÞ¸ÄxmlʲôµÄ£¬ÎÒ²»»á£¬Ï£Íû´ó¼ÒÄÜ°ï°ïÎÒ£¬ÎÒÊÇС°×£¬Ã»Åö¹ýÍøÕ¾±àдÒÆÖ²·¢²¼Ö®ÀàµÄÊÂ~~´ó¼Ò±ðÅç~~~·Ð»Ð»´ó¼ÒÁË
ÎÒÔËÐÐÍøÕ¾Ê×ҳûÎÊÌ⣬½øÈëµÇ½½çÃæÒÔºóÊäÈëÕ˺ÅÃÜÂë¾Í³öÏÖÕâÑùµÄ´úÂ룺
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.NullPointerException
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause
java.lang.NullPointerException
bean.SelectBean.select(SelectBean.java:55)
action.LoginAction.execute(LoginAction.java:61)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419
Ïà¹ØÎÊ´ð£º
Ò»¸öJSPÒ³Ãæ½ÓÊÕÆäËûÒ³ÃæÌá½»¹ýÀ´µÄFORM±íµ¥£¬µ«ÊÇÒªÇóÖ»½ÓÊÕµ±Ç°Õ¾µã¼°Æä×ÓÕ¾µãÌá½»¹ýÀ´µÄFORM±íµ¥£¬ÆäËûÕ¾µãÌá½»¹ýÀ´µÄ±íµ¥²»½ÓÊÕ£¬Õâ¸öÔõôÉèÖã¿
ÓùýÂËÆ÷
filter
½«µ±Ç°Õ¾µã¼°Æä×ÓÕ¾µã·ÅÒ»¸öĿ¼
È» ......
¸÷·´óÏÀ¸ø¸ö˼·£¬²»ÊÇÔÚÏßµÄÄÇÖÖ£¬¾ÍÊÇÒ»¸ö×öÆÕͨµÄÓ¦ÓóÌÐò¡£
´Ê¿âÔõôÉú³ÉÄØ£¿
²»»á¡£
ÒýÓÃ
´Ê¿âÔõôÉú³ÉÄØ£¿
ÕÒ±¾×Öµä
ÒýÓÃ
´Ê¿âÔõôÉú³ÉÄØ£¿
Êý¾Ý¿â ºÇºÇ
ÓÃmap ¼üÖµ¶ÔÓ¦
Èç¹ûÓÃÊý¾Ý¿ ......
ʹÓÃjavaÔÚwindows7 32λÏÂÁ¬½ÓMSSQL¡£
Á½Ì¨»úÆ÷£¬windows7 32룬ÔÚ¿ØÖÆÃæ°åÀïÃæÈ«²¿ÉèÖÃÓïÑÔºÍÇøÓòÑ¡Ïenglish-unitedstates
ΨһÇø±ðÖ»ÓÐÔÚ°²×°SQL server 2008µÄʱºò Ñ¡ÔñµÄ×Ö·û¼¯²»Ò»Ñù£¬
exec sp_helpsor ......
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 ......
ÏÖÔÚ²»ÏëÓÃ<a> </a> ±êÇ© £¬ÒòΪµã»÷ºó»á³öÏÖÒ³ÃæÖض¨Î»£¬¸øÎÄ×Ö¼ÓÉÏcssÑùʽ¾Í¿ÉÒÔ¿´ÆðÀ´ ÊÇhrefÔõôʵÏÖÕâÑùµÄcss
text-decoration:underline; cursor:hand;
ÒýÓÃ
text-decoration:underline; cur ......