- 博客(4)
- 收藏
- 关注
原创 oracle基本语句编写和函数使用
一、插入insertinsert into table(表名) (属性名,逗号隔开) values (属性值,逗号隔开);例:insert into code (REMARK, FLAG) values ( 'UploadInd', '1',);二、给表增加一列alterAlter Table 表名 Add 属性名 字段类型;例:Alter Table user Add u...
2020-01-09 10:56:46
145
原创 随机生成6位随机数
一、使用Math.random()函数(int)(((Math.random()*9+1))*100000)说明:1.Math.random()随机生成 [0.0,1.0) 的double2.(Math.random()*9+1)*100000 的范围就是 ([0.0,1.0)*9+1)*100000 即 [100000.0,1000000.0)二、使用new Random()n...
2020-01-09 10:42:01
1143
原创 struts标签的使用
strus标签的使用●在jsp中指定所使用的标签库url,例如:<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>●标签前缀是prefix的值“bean”以下是标签举例介绍:一、<bean:message />1、此标签用来从指定的locale中取回国际化的消息并输出。2、message代表内容可...
2020-01-02 16:11:08
193
原创 jsp中request.getAttribute(“key”)的使用
请求发送到后台后会将一些信息使用request.setAttribute("key",value);来存储,这些存储的信息在jsp中可以使用request.getAttribute(“key”)来获取;也可以使用struts中的<bean:write name='object' property='property'/>标签来获取...
2020-01-02 15:27:01
1221
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人