记录一个C# Image转Base64编码,和base64编码转Image对象的函数。 ...
开发工具:MyEclipse2014版(jdk1.7)+Maven3.9。 新建Maven项目: Step1: Step2: Step3:这里选maven-archetype-webapp,因为后面的项目讲解都是web项目。如果是纯java项目,可以选择 maven-archetype-quicks ...
分类:
编程语言 时间:
2017-05-31 20:12:57
阅读次数:
265
一: Spring-data底层的接口路基: spring-data : PagingAndSortingRepository-> CrudRepository-> Repository ,它是springdatajpa,solr,mongoDB,Elasticsearch的核心基础。 有三个主要的 ...
分类:
数据库 时间:
2017-05-26 23:30:24
阅读次数:
337
maven: 1、下载apache-maven 2、新建环境变量M2_HOME指向maven目录,并在PATH中加入%M2_HOME%\bin 3、在shell中输入命令测试maven是否安装成功,mvn -version 4、更改maven目录中conf中settings.xml(1、加入阿里云镜 ...
分类:
编程语言 时间:
2017-05-26 12:01:48
阅读次数:
327
import javax.mail.MessagingException; import javax.mail.internet.MimeMessage; import org.springframework.beans.factory.annotation.Autowired; import or... ...
分类:
编程语言 时间:
2017-05-25 20:47:16
阅读次数:
192
© 版权声明:本文为博主原创文章,转载请注明出处 实例 1.项目结构 2.pom.xml 3.Student.java 4.Student.hbm.xml 5.hibernate.cfg.xml 6.ImageTest.java 7.效果预览 7.1 执行saveStudentWithImage() ...
分类:
Web程序 时间:
2017-05-25 18:18:56
阅读次数:
327
The following explains why the DO_POWER_PAGABLE bit must be set on the way down and not on the way up: The power requirements state that if any lower ...
分类:
其他好文 时间:
2017-05-25 13:33:22
阅读次数:
288
Rectangle bounds = Screen.GetBounds(Screen.GetBounds(Point.Empty)); using (Bitmap bitmap = new Bitmap(bounds.Width, bounds.Height)) { ... ...
关注:效率/工具。 希望可以和大家多多交流。尤其是关于怎样使用工具使每天的日程变得更加简单和可操作化。 关注的技术:swift,ios开发。 Focus on:efficient/tools Hope we can communicate about the efficient tools espe ...
分类:
其他好文 时间:
2017-05-24 14:46:22
阅读次数:
153
1.怎么创建maven版的web工程 01.在创建maven工程时,选择packaging为war 02.然后右键工程选择properties,找到Project Facets点进 03.取消Dynamic Web Module后再点Apply,再勾选上Dynamic Web Module,这时下面 ...
分类:
其他好文 时间:
2017-05-14 18:53:16
阅读次数:
141