- 博客(6)
- 收藏
- 关注
原创 前端时遇到的问题
1、在p标签内,汉字自动换行,英文字母不换行; fdsalfkldsafjksjfkljsdfkljdskfjklsjfkldjsfkljdsaklfjakldsdfjkldsjfklsdjaflksdjafkljaslkfjadkslfjk 解决:"word-break: break-all":允许单词在文本自动换行
2017-11-04 10:20:06 157
转载 线程
线程的两种创建方法 1、继承Thread 类,然后重写类里的方法run,通过调用star()方法,来开启一个线程 public class L6_1 { public static void main(String[] args) { Xc xc = new Xc(); //xc.run(); xc.start(); //谁调用star(),程序就会自动调用run方法; //
2017-11-01 09:48:11 280
转载 JS继承
继承 /* function monkey(_type,_home){ this.type = _type; this.home = _home; this.say = function(){ alert('猴子,住在'+this.home) } } function magic_monkey (_type,_home,arr){ //在子类中调用父
2017-10-31 16:33:37 178
原创 前台给后台传图片处理方法
public int fileUpload(MultipartFile file, HttpServletRequest request) throws IOException { String filePath = request.getSession().getServletContext().getRealPath("/"); String path = file
2017-10-19 13:46:13 3834
原创 第一次自己封装的分页方法
//分页 //title_3 查询所有要分的记录 //oneNumber 一页多少条记录 //title_number 具体页数 public HashMap selectNumber(List title_3 int oneNumber int title_number){ HashMap hashMap = new HashMap(); //所有标题内容
2017-10-19 09:00:14 1140
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人