Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : jsp

JSP´æÈëÊý¾Ý¿â

ÎÒÊÇÓÃSTRUTS £¬×öÁËÒ»¸öJSPÒ³Ã棬Ìá½»ºóûÓдæÈëÊý¾Ý¿â¡£
JSP´úÂëÈçÏ£º
aa.jsp´úÂë
<%@ page contentType="text/html;charset=gb2312" language="java"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%> 
<%@ taglib uri=&quo ......

ÔÚjspÖÐÈçºÎ×öÏÂÔØ£¿

ÎÒÓÃa±êǩʵÏÖÁËÒ»¸öÏÂÔع¦ÄÜ£¬ÎªÊ²Ã´²»ÄÜÏÂÔØ£¿ÊÇÎҵķ¾¶ÖÐÓÐÖÐÎÄ£¿»¹ÊÇÓþø¶Ô·¾¶µÄÔ­Òò£¿
Çë´ó¼Ò¸æËßÎÒ£¬ÕâÑù×öÓÐʲôҪעÒâµÄµØ·½Ã»ÓУ¿
aʵÏÖÏÂÔع¦ÄÜ£¿

1. <a href="down.jsp">ÏÂÔØÎļþ </a>
2.down.jsp
<%@ page contentType="application/vnd.ms-word;charset=gb2312 ......

jspÊý¾Ý¿âÁ¬½Ó

package MidTerm;
import java.sql.*;
import com.mysql.jdbc.Driver;
public class Connection
{
private static Connection con;
private Statement statement;
private ResultSet rs;
private static String userName="root";
private static String userPassword="123 ......

JSP ¶à±í¹ØÁªÎÊÌâ

´ó¼ÒºÃ,ÎÒÏÖÔÚÓиöÏîÄ¿,³öÏֺܶà¶à±í¹ØÁªµÄÇé¿ö,ÄÇÎÒÔÚListÖÐÒªÏÔʾµÄÄÚÈÝÊǸù¾Ýÿ¸ö²éѯÓï¾äµÄ½á¹ûÀ´È·¶¨ÁеÄÊýÁ¿.
±ÈÈç:
Óû§ID,Óû§ÐÕÃû,²¿ÃÅÃû,ÊÇ·ñÍ£ÓÃ
1.      ÕÅÈý    ²ÆÎñ²¿  ·ñ

µ«Èç¹ûÎÒÁíÍâÒ»¸öÁбíÖеÄÏÔʾÄÚÈÝÈçÏÂ:
ID,ÒµÎñµ¥ºÅÂë,¿Í»§Ãû³Æ,ÒµÎñµ¥ÀàÐÍ,ÉêÇ ......

JSPÀûÓó¬Á¬½ÓÌí¼ÓºÃÓÑ

ÎÒ×öÒ»¸öС¶«Î÷ 

Óû§µã»÷    <a>Ìí¼ÓºÃÓÑ </a>

È»ºó¾Í¿ÉÒÔÌí¼ÓºÃÓÑ

Êý¾Ý¿â²Ù×÷,Êý¾Ý´«ËÍÕâЩ¶«Î÷¶¼ÁË½â  ¾ÍÏëÖªµÀÕâ¸öµ¥´¿µÄµã»÷,ÏìÓ¦¶¯×÷Ó¦¸ÃÈçºÎʵÏÖ?



ÒýÓÃ
ÎÒ×öÒ»¸öС¶«Î÷

Óû§µã»÷     <a>Ìí¼ÓºÃÓÑ </a ......

ÇóÖújspÖÐÔËÐÐJavabeanÎÊÌâ

SetGetPropertytest.jspÔ´´úÂëÈçÏ£¬Ð»Ð»´ó¼ÒÇ°À´°ï棬ͬʱף´ó¼ÒÖÐÇï¿ìÀÖ
<%@ page c%>
<HTML>
<HEAD>
<TITLE>setProperty¶¯×÷ÓëgetProperty¶¯×÷·¶Àý </TITLE>
</HEAD>
<BODY>
<font size=5>setProperty¶¯×÷ÓëgetProperty¶¯×÷·¶Àý & ......
×ܼǼÊý:1634; ×ÜÒ³Êý:273; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [263] [264] [265] [266] 267 [268] [269] [270] [271] [272]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ