随笔分类 -  框架

上一页 1 2

2014.1.14 struts 的default.properties 配置文件详述
摘要:转自 http://justsee.iteye.com/blog/723993Struts 2框架有两个核心配置文件:struts.xml和struts.properties 其中struts.xml文件主要负责管理应用中的Action映射,以及该Action包含的Result定义等。除此之外,Struts2框架还包含一个struts.properties文件,该文件定义了Struts 2框架的大量属性,开发者可以通过改变这些属性来满足应用的需求。struts.properties文件是一个标准的Properties文件,该文件包含了系列的key-value对象,每个key就是一个Struts 阅读全文

posted @ 2014-01-14 10:23 远方的人 阅读(223) 评论(0) 推荐(0)

配置tomcat server.xml 文件 ,虚拟路径
摘要:配置虚拟路径时应注意加 / 阅读全文

posted @ 2014-01-03 12:03 远方的人 阅读(185) 评论(0) 推荐(0)

mybatis 和 mybatis-spring
摘要:一、1. 实体bean package com.mybatisBean;public class User { private Integer id; private String name; private String age; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getName() { return name; } pu... 阅读全文

posted @ 2013-12-03 17:38 远方的人 阅读(887) 评论(0) 推荐(0)

启动多个eclipse 时,因为一个另一个启动报错,
摘要:启动多个eclipse 时,因为一个另一个启动报错,原因: 可能是 有一个 eclipse 中 的 tomcat 配置出错:preference中tomcat 配置 context declaration mode 应选中server.xml 阅读全文

posted @ 2013-12-03 11:20 远方的人 阅读(177) 评论(0) 推荐(0)

使用kindeditor 4.1.7 编辑器 注意事项,上传图片失败 问题 ,
摘要:KindEditor.ready(function(K) { window.editor = K.create('#desc',{ resizeType : 1, allowPreviewEmoticons : false, allowImageUpload : true,uploadJson: 'editor/jsp/upload_json.jsp', items : [ 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor' 阅读全文

posted @ 2013-07-02 15:47 远方的人 阅读(4347) 评论(2) 推荐(0)

百度 ueditor 1.2.0 注意事项 ,上传文件问题
摘要:处理乱码var editor=UE.getEditor('desc',{});var editor=UE.getEditor('desc',{ initialFrameWidth:500, initialFrameHeight:100, autoHeightEnabled:false, toolbars:[['fullscreen', 'source', '|', 'undo', 'redo','|','justifyleft', 'justi 阅读全文

posted @ 2013-07-02 15:31 远方的人 阅读(630) 评论(0) 推荐(0)

applicationContext-security
摘要:<?xml version="1.0" encoding="UTF-8"?><beans:beans xmlns="http://www.springframework.org/schema/security" xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=&quo 阅读全文

posted @ 2013-04-28 13:52 远方的人 阅读(790) 评论(0) 推荐(0)

邮件发送
摘要:package com.util.mail; /** * 发送邮件需要使用的基本信息 *author by wangfunhttp://www.5a520.cn 小说520 */ import java.util.Properties; public class MailSenderInfo { // 发送邮件的服务器的IP和端口 private String mailServerHost; private String mailServerPort = "25"; // 邮件发送者的地址 privat... 阅读全文

posted @ 2013-04-27 17:19 远方的人 阅读(284) 评论(0) 推荐(0)

读取xml 文档
摘要:例子: //先new xml 读取private static final String CONFIG_PATH="configuration.xml";private static final XmlReader xml=new XmlReader(CONFIG_PATH);public List<CheckBean> jobsel=Constant.rzPerSelJob;public static final List<CheckBean> rzPerSelJob=new ArrayList<CheckBean>(); //静态赋值 阅读全文

posted @ 2013-04-18 15:21 远方的人 阅读(229) 评论(0) 推荐(0)

tomcat redeploy 失败 ,which has locked one or more files.
摘要:Undeployment Failure could not be redeployed because it could not be completely removed in the undeployment phase. the most common cuase of this problem is attempting to redeploy while the server is running,which has locked one or more files. to correct the deployment you will need to stop the serve 阅读全文

posted @ 2013-04-12 09:54 远方的人 阅读(432) 评论(0) 推荐(0)

上一页 1 2

导航