91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

初學者基于JSP+Javabean+servlet+sql server的小型房源網,使用deamwear編譯器

資源截圖

代碼片段和文件信息

//?Java?Document
package?tom.jiafei;
import?java.sql.*;
public?class?AddBean
{??String?num=““??????//編號
???????????name=““????????//姓名
???sex=““????????//性別
???phone=““??????//電話
???potion=““??????//??地域
???ptype=““????????//類型
???attribute=““?????//屬性
???pname=““;??????//照片名字
int?age;????//年齡
float?area;????//面積
String?renewMessage=““;?
????public?AddBean()
????{??try?{??Class.forName(“sun.jdbc.odbc.JdbcOdbcDriver“);??
???????????}
???????catch(ClassNotFoundException?e){}?
????}
???public?void?setNum(String?s)
????{??num=s.trim();
???????try{?byte?bb[]=num.getBytes(“ISO-8859-1“);
????????????num=new?String(bb“gb2312“);?
??????????}
???????catch(Exception?e){}
????}
???public?void?setName(String?s)
????{??name=s.trim();
???????try{?byte?bb[]=name.getBytes(“ISO-8859-1“);
????????????name=new?String(bb“gb2312“);?
??????????}
???????catch(Exception?e){}
????}
????public?void?setSex(String?s)
????{??sex=s.trim();
???????try{??byte?bb[]=sex.getBytes(“ISO-8859-1“);
?????????????sex=new?String(bb“gb2312“);?
??????????}
???????catch(Exception?e){}
????}
???public?void?setAge(int?n)
????{??age=n;
????}
??public?void?setPhone(String?s)
????{??phone=s.trim();
???????try{??byte?bb[]=phone.getBytes(“ISO-8859-1“);
?????????????phone=new?String(bb“gb2312“);?
??????????}
???????catch(Exception?e){}
????}
public?void?setArea(float?s)
????{??area=s;
????}
public?void?setPotion(String?s)
????{??potion=s.trim();
???????try{??byte?bb[]=potion.getBytes(“ISO-8859-1“);
?????????????potion=new?String(bb“gb2312“);?
??????????}
???????catch(Exception?e){}
????}
public?void?setPtype(String?s)
????{??ptype=s.trim();
???????try{??byte?bb[]=ptype.getBytes(“ISO-8859-1“);
?????????????ptype=new?String(bb“gb2312“);?
??????????}
???????catch(Exception?e){}
????}?
public?void?setAttribute(String?s)
????{??attribute=s.trim();
???????try{??byte?bb[]=attribute.getBytes(“ISO-8859-1“);
?????????????attribute=new?String(bb“gb2312“);?
??????????}
???????catch(Exception?e){}
????}
?public?void?setPname(String?s)
????{??pname=s.trim();
???????try{??byte?bb[]=pname.getBytes(“ISO-8859-1“);
?????????????pname=new?String(bb“gb2312“);?
??????????}
???????catch(Exception?e){}
????}
???public?String?getAddMessage()
{??String?insertCondition=“INSERT?landlord1?VALUES(?‘“+num+“‘?‘“+name+“‘‘“+sex+“‘“+age+“‘“+phone+“‘“+area+“‘“+potion+“‘‘“+ptype+“‘‘“+?????????????????????????????????????????????????????attribute+“‘‘“+pname+“‘)“;
???????String?str=““;
???????Connection?con;
???????Statement?sql;?
???????try?{?con=DriverManager.getConnection(“jdbc:odbc:mymoon““sa““sa“);
?????????????sql=con.createStatement();
?????????????if(num.length()>0)
?????????????{?int?m=sql.executeUpdate(insertCondition);
????????????????if(m!=0)
????????????????{????str=“對表中添加“+m+“條記錄成功“;
????????????????}
????????????????else
?????????????????{?str=“添加記錄失敗“;
?????????????????}
??????????

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

????..A..H.???????162??2018-12-19?22:22??第四組:西宇蘭園\~$eb程序設計》工作坊報告_第4組_魏申蘭,畢書園,徐江西,陳科宇.doc

?????文件???????1834??2018-12-15?20:51??第四組:西宇蘭園\第四組_源碼\homework\goods\addGoods.jsp

?????文件???????1737??2018-12-15?20:43??第四組:西宇蘭園\第四組_源碼\homework\goods\deleteGoods.jsp

?????文件???????1773??2018-12-08?12:49??第四組:西宇蘭園\第四組_源碼\homework\goods\help-page\help-framec.jsp

?????文件???????2665??2018-12-08?12:49??第四組:西宇蘭園\第四組_源碼\homework\goods\help-page\help-landlord.jsp

?????文件???????3666??2018-12-08?12:49??第四組:西宇蘭園\第四組_源碼\homework\goods\help-page\help-notice.jsp

?????文件???????1365??2018-12-08?12:49??第四組:西宇蘭園\第四組_源碼\homework\goods\help-page\help-other.jsp

?????文件????????568??2018-12-08?12:49??第四組:西宇蘭園\第四組_源碼\homework\goods\help-page\help.css

?????文件????????677??2018-12-08?12:49??第四組:西宇蘭園\第四組_源碼\homework\goods\help-page\helping.jsp

?????文件???????2552??2018-12-12?19:23??第四組:西宇蘭園\第四組_源碼\homework\goods\selectGoods.jsp

?????文件???????1773??2018-12-08?12:49??第四組:西宇蘭園\第四組_源碼\homework\help-page\help-framec.jsp

?????文件???????2665??2018-12-08?12:49??第四組:西宇蘭園\第四組_源碼\homework\help-page\help-landlord.jsp

?????文件???????3666??2018-12-08?12:49??第四組:西宇蘭園\第四組_源碼\homework\help-page\help-notice.jsp

?????文件???????1365??2018-12-08?12:49??第四組:西宇蘭園\第四組_源碼\homework\help-page\help-other.jsp

?????文件????????568??2018-12-08?12:49??第四組:西宇蘭園\第四組_源碼\homework\help-page\help.css

?????文件????????677??2018-12-08?12:49??第四組:西宇蘭園\第四組_源碼\homework\help-page\helping.jsp

?????文件???????3629??2018-12-04?11:57??第四組:西宇蘭園\第四組_源碼\homework\help_buy.jsp

?????文件???????1965??2018-12-09?15:46??第四組:西宇蘭園\第四組_源碼\homework\house\bie.jsp

?????文件???????1940??2018-12-15?20:43??第四組:西宇蘭園\第四組_源碼\homework\house\hai_house.jsp

?????文件???????1977??2018-12-09?15:46??第四組:西宇蘭園\第四組_源碼\homework\house\hao.jsp

?????文件???????1977??2018-12-09?15:46??第四組:西宇蘭園\第四組_源碼\homework\house\jia.jsp

?????文件???????1975??2018-12-09?15:46??第四組:西宇蘭園\第四組_源碼\homework\house\lin.jsp

?????文件???????1975??2018-12-09?15:46??第四組:西宇蘭園\第四組_源碼\homework\house\luo.jsp

?????文件??????49652??2018-12-09?08:43??第四組:西宇蘭園\第四組_源碼\homework\house\picture\別墅\a.jpg

?????文件??????37602??2018-12-09?08:43??第四組:西宇蘭園\第四組_源碼\homework\house\picture\別墅\b.jpg

?????文件??????63068??2018-12-09?08:43??第四組:西宇蘭園\第四組_源碼\homework\house\picture\別墅\c.jpg

?????文件??????33192??2018-12-09?08:43??第四組:西宇蘭園\第四組_源碼\homework\house\picture\別墅\d.jpg

?????文件??????37960??2018-12-09?08:43??第四組:西宇蘭園\第四組_源碼\homework\house\picture\別墅\e.jpg

?????文件??????29918??2018-12-09?08:43??第四組:西宇蘭園\第四組_源碼\homework\house\picture\夜景房\a.jpg

?????文件??????38512??2018-12-09?08:43??第四組:西宇蘭園\第四組_源碼\homework\house\picture\夜景房\b.jpg

............此處省略175個文件信息

評論

共有 條評論