`
文章列表
1.Maven构建失败 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin: 2.3 . 2 :compile ( default -compile) on project oecp: Compilation failure    2.解决方法:   3.至少我是这么干的:使用自己的jdk,have fun!!  
如图所示:  
1.异常: net.sf.json.JSONException: java.lang.NoSuchMethodException: Property 'data' has no getter method in class 'class cn.ac.iscas.gz.sems.web.controller.MGDFileController$MGDFCFeedBackBean'     at net.sf.json.JSONObject._fromBean(JSONObject.java:987) 2.原来的源码: /** * 地图采点数据文件控制反馈 ...
windows7 环境下: 1.控制面板->字体, 找到CourierNew文件,右键菜单选择"显示". 2.在菜单 windows-->prefereces里面,找到General-->Appearance-->Colors and Fonts-->Basic-->Text Font 点击Edit,选择"CourierNew"即可. 参考连接:http://www.iteye.com/topic/1120180
1.后台: /** * 初始化菜单项 * @param response * @throws Exception */ @RequestMapping(params = "action=init", method = {RequestMethod.GET,RequestMethod.POST}) public void initMenu(HttpServletResponse response) throws Exception { String menuXmlData = ""; ........ ...

FlexSession的交互

<?xml version="1.0" encoding="utf-8"?> <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" width="300" height="58"> <s ...

Flex重置表单

/** * 重置表单 */ protected function resetFormHandler(event:MouseEvent):void { /*清空文本框*/ //通过反射获得当前MXML中的信息 var instanceInfo:XML=describeType(this); var properties:XMLLi ...

jacksum 使用

Java加密   Microsoft Windows [版本 6.1.7600] 版权所有 (c) 2009 Microsoft Corporation。保留所有权利。 D:\OpenSources\Java>java -jar jacksum.jar -a sha -q "txt:123456" 7c4a8d09ca3762af61e59520943dc26494f8941b D:\OpenSources\Java>   jacksum: http://http://www.jonelo.de/java/jacksum/index.html
log4jdbc 可以将占位符与参数全部合并在一起显示,方便直接拷贝 sql 在 PLSQL Developer 等客户端直接执行,加快调试速度. 记录执行的sql及其耗时等.     1.测试代码   package com.mtea.demo.test; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import org.slf4j.Log ...
http://localhost:8080/TestServlet/testing/joe.bloggs@example.com @RequestMapping(value = "/{email}", method = RequestMethod.GET) @RequestMapping(value = "/{email:.*}", method = RequestMethod.GET)//正确
出错前: ModelAndView handleException(Exception ex, Model model) 修复后: @ExceptionHandler(Exception.class) public ModelAndView handleException(Exception ex, WebRequest request) { ModelAndView mav = new ModelAndView(COMMON_ERROR_VIEWNAME); logger.error("服务器异常",ex); mav.addObject(&qu ...
1.model:   public class UserType implements Serializable { private static final long serialVersionUID = 1L; private int id; private String typeName; private String remark; private Date addDate; private Date editDate;   2.html form   <form name="user ...

Mybatis like 的问题

package com.mtea.mis.builder; /** * 父SQL构建器 * 提供常用的构建方法 * @author Macrotea * @version 0.1 * @date 2011-9-26 * @note */ public class BaseSqlBuilder { /** * 两边Like(eg: %name%) * @param columnName * @param propNames * @return */ public s ...
/** * 插入 且返回影响行数 * 且实体保存新增编号 * @param entity * @return */ @InsertProvider(method = "insert", type = UserTypeSqlBuilder.class) Integer insert(UserType entity);   import static org.apache.ibatis.jdbc.SelectBuilder.BEGIN; import static org.apache.ibatis.jdbc.SqlBuilder ...

Spring mvc 编码

在web.xml下添加:     <!--编码-->     <filter>         <filter-name>Set Character Encoding</filter-name>         <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>         <init-param>             <param-name>encodi ...
Global site tag (gtag.js) - Google Analytics