会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
hl若水
博客园
首页
新随笔
联系
订阅
管理
2017年11月30日
一个简单的从web页面获取数据插入数据库的小程序
摘要: 1.数据库新建一张表:Student_information,表中三个字段,name(nvarchar(50),null),sex(nvarchar(50),null),age(numeric(18,0),null) 2.先新建一个Main.jsp. 3.新建一个Employ类,存放学生属性 4.新
阅读全文
posted @ 2017-11-30 17:53 Hebe_Huang
阅读(7529)
评论(0)
推荐(0)
编辑
新建一个简单的Java web前后台交互小程序时报错:java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SqlServerDriver
摘要: 处理方法:将sqljdbc4.jar包放在tomcat/lib文件夹下
阅读全文
posted @ 2017-11-30 17:30 Hebe_Huang
阅读(291)
评论(0)
推荐(0)
编辑
2017年10月18日
SQLserver 一个简单的循环插入数据的存储过程
摘要: create procedure pro9 as declare @ID int set @ID =5 while(@ID<10) begin insert into Student_information values(@ID,'lili','男') set @ID=@ID+1 end GO exec pro9 drop procedure pro9
阅读全文
posted @ 2017-10-18 15:44 Hebe_Huang
阅读(6748)
评论(0)
推荐(0)
编辑
2017年9月5日
使用断言时报错:java.lang.AssertionError: expected [true] but found [false]
摘要: package cn.pagefactory.loginpage; import org.openqa.selenium.By;import org.openqa.selenium.WebDriver;import org.openqa.selenium.WebElement;import org.
阅读全文
posted @ 2017-09-05 21:58 Hebe_Huang
阅读(14466)
评论(0)
推荐(0)
编辑
selenium无法定位到QQ邮箱登录页面的输入框元素和登录按钮元素-解决方法
摘要: 问题如下: 代码如下: package TestNG1; import org.openqa.selenium.WebDriver;import org.openqa.selenium.WebElement;import org.openqa.selenium.support.FindBy;impo
阅读全文
posted @ 2017-09-05 13:32 Hebe_Huang
阅读(1778)
评论(0)
推荐(0)
编辑
公告