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

JSPÁôÑÔ¹ÜÀíϵͳ (¸½¼ÓÓû§È¨ÏÞ¹¦ÄÜ)

JSPÁôÑÔ¹ÜÀíϵͳ (¸½¼ÓÓû§È¨ÏÞ¹¦ÄÜ)
1.ÓοͿÉÒԲ鿴ͨ¹ýÉóºËµÄÁôÑÔ£»
2.ÆÕͨÓû§µÇ¼ºó¿ÉÒÔ·¢±íÁôÑÔ£¬ÐÞ¸ÄÃÜÂ룻
3.¹ÜÀíÔ±µÇ¼ºó¿ÉÒÔÉóºË¡¢Ð޸ġ¢É¾³ýÁôÑÔ£»
4.³¬¼¶¹ÜÀíÔ±µÇ¼ºó¿ÉÒÔ¹ÜÀíÓû§£¬É¾³ýÓû§¡¢ÐÞ¸ÄÃÜÂë¡¢¸ü¸ÄȨÏÞ¡£
´ËÁôÑÔ¹ÜÀíϵͳ°üº¬ÒÔÏÂÎļþ£º
1.Ê×Ò³(index.jsp)£º°´·¢±íʱ¼äµ¹ÐòÏÔʾÁôÑÔÄÚÈÝ£¬²»Í¬È¨ÏÞµÄÓû§µÇ¼ºóÏÔʾ»¶Ó­ÐÅÏ¢ºÍÏàÓ¦µÄÁ´½Ó£»
2.·¢±íÁôÑÔÒ³Ãæ(post.jsp)£ºÊäÈë×÷Õß¡¢ÄÚÈÝÌá½»£»
3.ÁôÑÔ±£´æÒ³Ãæ(post_do.jsp)£º½«Ìá½»µÄÁôÑÔ´æÈëÊý¾Ý¿â£»
4.µÇ¼ҳÃæ(login.jsp)£ºÊäÈëÓû§Ãû¡¢ÃÜÂëÌá½»£»
5.µÇ¼ÑéÖ¤Ò³Ãæ(check.jsp)£ºÑéÖ¤Óû§Ãû¡¢ÃÜÂëÊÇ·ñºÏ·¨£»
6.ÐÞ¸ÄÁôÑÔÒ³Ãæ(alter.jsp)£ºÐÞ¸ÄÁôÑÔ£¬¹ÜÀíÔ±ÒÔÉϵǼºó¿ÉÓã»
7.ÐÞ¸ÄÁôÑÔ±£´æÒ³Ãæ(alter_do.jsp)£ºÐ޸ĺó½«ÁôÑÔ´æÈëÊý¾Ý¿â£¬¹ÜÀíÔ±ÒÔÉϵǼºó¿ÉÓã»
8.ɾ³ýÁôÑÔÒ³Ãæ(del.jsp)£ºÉ¾³ýÁôÑÔ£¬¹ÜÀíÔ±ÒÔÉϵǼºó¿ÉÓã»
9.ÉóºËÁôÑÔÒ³Ãæ(show.jsp)£ºÍ¨¹ýÉóºË¡¢³·ÏúÉóºË£¬¹ÜÀíÔ±ÒÔÉϵǼºó¿ÉÓã»
10.×¢²áÒ³Ãæ(register.jsp)£ºÊäÈëÓû§Ãû¡¢ÃÜÂë¡¢êdzƣ¬Ìá½»£»
11.×¢²á±£´æÒ³Ãæ(register_do.jsp)£º¼ì²é×¢²áÐÅÏ¢£¬´æÈëÊý¾Ý¿â£»
12.ÐÞ¸ÄÃÜÂëÒ³Ãæ(password.jsp)£ºÊäÈëÔ­ÃÜÂë¡¢ÐÂÃÜÂ롢ȷÈÏÃÜÂ룬Ìá½»£¬ÆÕͨÓû§ÒÔÉϵǼºó¿ÉÓã»
13.ÐÞ¸ÄÃÜÂë±£´æÒ³Ãæ(password_do.jsp)£ºÑéÖ¤ÃÜÂ룬´æÈëÊý¾Ý¿â£¬ÆÕͨÓû§ÒÔÉϵǼºó¿ÉÓã»
14.Óû§¹ÜÀíÒ³Ãæ(member.jsp)£ºÏÔʾÓû§ÁÐ±í¼°¹ÜÀíÁ´½Ó£¬³¬¼¶¹ÜÀíÔ±µÇ¼ºó¿ÉÓã»
15.ɾ³ýÓû§Ò³Ãæ(del_user.jsp)£ºÉ¾³ýËùÑ¡Óû§£¬³¬¼¶¹ÜÀíÔ±µÇ¼ºó¿ÉÓã»
16.ÃÜÂë¹ÜÀíÒ³Ãæ(edit_pwd.jsp)£ºÐÞ¸ÄËùÑ¡Óû§ÃÜÂ룬³¬¼¶¹ÜÀíÔ±µÇ¼ºó¿ÉÓã»
17.ÃÜÂë¹ÜÀí±£´æÒ³Ãæ(edit_pwd_do.jsp)£ºÑéÖ¤ÐÂÃÜÂ룬´æÈëÊý¾Ý¿â£¬³¬¼¶¹ÜÀíÔ±µÇ¼ºó¿ÉÓã»
18.¸ü¸ÄȨÏÞÒ³Ãæ(edit_status.jsp)£º¸ü¸ÄËùÑ¡Óû§È¨ÏÞ£¬³¬¼¶¹ÜÀíÔ±µÇ¼ºó¿ÉÓã»
19.×¢ÏúµÇ¼ҳÃæ(logout.jsp)£º×¢ÏúµÇ¼£»
20.Êý¾Ý¿â(gb.mdb)£º
  content                ÁôÑÔÄÚÈݱí
      |_ID                  ÐòºÅÁÐ
      |_gb_author     ×÷ÕßÁÐ
      |_gb_content    ÄÚÈÝÁÐ
     


Ïà¹ØÎĵµ£º

ÌáÉýJSPÓ¦ÓóÌÐòµÄÆß´ó¾øÕÐ


Äãʱ³£±»¿Í»§±§Ô¹JSPÒ³ÃæÏìÓ¦ËٶȺÜÂýÂð£¿ÄãÏë¹ýµ±¿Í»§·ÃÎÊ´ÎÊý¾çÔöʱ£¬ÄãµÄWEBÓ¦ÓÃÄܳÐÊÜÈÕÒæÔö¼ÓµÄ·ÃÎÊÁ¿Âð£¿
      ±¾ÎĽ²ÊöÁ˵÷ÕûJSPºÍservletµÄһЩ·Ç³£ÊµÓõķ½·¨£¬Ëü¿ÉʹÄãµÄservletºÍJSPÒ³ÃæÏìÓ¦¸ü¿ì£¬À©Õ¹ÐÔ¸üÇ¿¡£¶øÇÒÔÚÓû§ÊýÔö¼ÓµÄÇé¿öÏ£¬ÏµÍ³¸ºÔØ»á³ÊÏÖ³öƽ»¬Éϳ¤µÄÇ÷ÊÆ¡£ÔÚ±¾ÎÄÖ ......

JSPÒ³ÃæÌøת´óÈ«

JSPÒ³ÃæÌøת´óÈ«
JSPÖеÄÌøת£º
(1). forward()·½·¨
    ʹÓõ½javax.servlet.RequestDispatcherÀà
    RequestDispatcher rd = getServletContext().getRequestDispatcher("url");
    rd.forward(requestVar,requestVar); //´«µÝservletµÄÈë¿Ú²ÎÊý
   ......

JSPÁ¬½ÓÊý¾Ý¿âµÄ×ܽá

ÒòΪÊǸú×ÅÊÓƵѧϰµÄ£¬ÓкܶàÓõĶ«Î÷²»Ò»Ñù£¬µ«ÊÇ»¹ÊÇÂýÂýµÄÃþË÷³öÀ´À²£¡
1.Microsoft JDBC Driver µÄÏÂÔØ°²×°
 Ö»ÒªÔÚÍøÉÏÕÒµ½×ÊÔ´Ò»²½²½À´¾Í¿ÉÒÔÁË¡£
2.ÅäÖû·¾³±äÁ¿
  ÎÒÓõÄÊÇtomcat6.0Ê×ÏÈÅäµÄÊÇ
classpathºÍpath£¬ÕâЩ¶¼ÊÇÔÚÅäjdkµÄʱºò¾ÍÅä¹ýÁË£¬ËùÒԾͲ»Ïêϸ˵Ã÷ÁË£¬Ö»Òª½«libºÍbinÎļþ¼ÓÈëµ½Ïà¹Ø ......

Jsp±àÂë¹æ·¶


Jsp±àÂë¹æ·¶
1.1 Îļþºó׺(File Suffixes)
ÎļþÀà±ð ¡¡¡¡ ¡¡¡¡¡¡¡¡¡¡Îļþºó׺
--------------------------------------
JavaÔ´Îļþ¡¡¡¡¡¡¡¡¡¡¡¡¡¡.java
Java×Ö½ÚÂëÎļþ¡¡¡¡¡¡¡¡¡¡.class
¶¯Ì¬Ò³Ãæ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡.jsp
¾²Ì¬Ò³Ãæ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡.html
½Å±¾Îļþ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡.js
1.2 ³£ÓÃÎļþÃû(Common ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ