随笔分类 -  java-web

摘要:参考:http://www.jb51.net/article/98481.htm [摘要:1.my-default.ini 更名my.ini 正在解压的目次上面复造my-default.ini一份更名字为 my.ini。 2.翻开 Windows 情况变量设置, 新建变量名 MYSQL_HOME , 阅读全文
posted @ 2017-12-12 15:30 manmanlu 阅读(8280) 评论(1) 推荐(1)
摘要:<!--com.microsoft.sqlserver.jdbc.SQLServerDriver --> <property name="JDBC.Driver" value="com.mysql.jdbc.Driver" /> <!-- <property name="JDBC.Connectio 阅读全文
posted @ 2017-11-28 10:51 manmanlu 阅读(157) 评论(0) 推荐(0)
摘要:学习:http://blog.csdn.net/code_thinking/article/details/53467465 阅读全文
posted @ 2017-10-26 15:07 manmanlu 阅读(85) 评论(0) 推荐(0)
摘要:一、复制jar文件。 把struts2-spring-plugin-..*.jar和spring.jar复制到Web工程的WEB-INF/lib目录下,并且还需要复制commons-logging.jar。 二、配置Struts.objectFactory属性 在struts.xml文件中配置: 1 阅读全文
posted @ 2017-10-19 19:50 manmanlu 阅读(298) 评论(0) 推荐(0)
摘要:/** * 获取属性名数组 * */ public static List<String> getFiledName(Object o){ Field[] fields=o.getClass().getDeclaredFields();// String[] fieldNames=new Strin 阅读全文
posted @ 2017-09-26 11:08 manmanlu 阅读(2219) 评论(0) 推荐(0)
摘要:写DB框架的时候,使用反射获取属性的时候,多了一个$change属性,当场一脸懵比。 stackoverflow 发现是Android Studio2.0的.Instant Run 的问题. 解决办法 [转载请注明:Canney 原创:http://blog.csdn.net/canney_chen 阅读全文
posted @ 2017-09-26 09:09 manmanlu 阅读(170) 评论(0) 推荐(0)
摘要:jQuery easyui是一个基于jquery的用户界面插件集合,可以做出各种炫酷页面效果,大中型项目都可以使用些框架,非常好用,而且它有中文网,提供了大量的demo.下面我们看怎么将它引入到项目中 一:下载地址 http://www.jeasyui.com/download/index.PHP 阅读全文
posted @ 2017-07-13 09:11 manmanlu 阅读(8272) 评论(0) 推荐(0)
摘要:转自:http://blog.csdn.net/Mark_LQ/article/details/49822821 10.1.1 文件上传基本案例 第一步:上传组件依赖与commons-fileupload-1.3.1.jar和commons-io-2.2.jar。这两个文件可以从http://com 阅读全文
posted @ 2017-06-08 14:49 manmanlu 阅读(389) 评论(0) 推荐(0)
摘要:导出表数据和表结构sql文件 在日常的开发过程中,经常需要导出某个数据库中,某些表数据;或者,需要对某个表的结构,数据进行修改的时候,就需要在数据库中导出表的sql结构,包括该表的建表语句和数据存储语句!在这个时候,就可以利用本方法来操作! 步骤阅读 在日常的开发过程中,经常需要导出某个数据库中,某 阅读全文
posted @ 2017-05-26 09:21 manmanlu 阅读(21641) 评论(0) 推荐(0)
摘要:1查询并返回list 别名映射->实体类:resultClass <select id=" selectAll" resultClass="AppLog"> select ID as id, TYPE as type, DESCR as descr from APP_LOG where ID = # 阅读全文
posted @ 2017-05-17 10:10 manmanlu 阅读(306) 评论(0) 推荐(0)
摘要:什么是Spring MVC Spring MVC属于SpringFrameWork的后续产品,已经融合在Spring Web Flow里面。Spring 框架提供了构建 Web 应用程序的全功能 MVC 模块。使用 Spring 可插入的 MVC 架构,从而在使用Spring进行WEB开发时,可以选 阅读全文
posted @ 2017-02-22 14:04 manmanlu 阅读(268) 评论(0) 推荐(0)
摘要:SpringMVC是一个基于DispatcherServlet的MVC框架,每一个请求最先访问的都是DispatcherServlet,DispatcherServlet负责转发每一个Request请求给相应的Handler,Handler处理以后再返回相应的视图(View)和模型(Model),返 阅读全文
posted @ 2017-02-22 12:04 manmanlu 阅读(147) 评论(0) 推荐(0)
摘要:1,两种方法解决tomcat的 Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"] 两种方法解决tomcat的 Failed to initialize end point associat 阅读全文
posted @ 2017-01-06 10:47 manmanlu 阅读(166) 评论(0) 推荐(0)