随笔分类 - Java
摘要:pom.xml org.springframework.boot spring-boot-starter-jdbc App类package com.smartmap.sample.ch1;import org.springframework.boot.SpringApplication;import org.springframework....
阅读全文
摘要:package com.sample.smartmap.controller;import java.util.List;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.http.MediaType;import org.springframework.stereoty...
阅读全文
摘要:package com.sample.smartmap.controller;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.http.MediaType;import org.springframework.stereotype.Controller;import o...
阅读全文
摘要:package com.sample.smartmap.controller;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Controller;import org.springframework.ui.Model;import org.spr...
阅读全文
摘要:package com.sample.smartmap.controller;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Controller;import org.springframework.web.bind.annotation.Get...
阅读全文
摘要:package com.sample.smartmap.controller;import java.io.IOException;import java.math.BigDecimal;import java.util.Date;import java.util.HashMap;import java.util.Map;import org.apache.commons.logging.Log;...
阅读全文
摘要:方法1@Value("${test.msg}") private String msg;方法2@Autowired private Environment env;String value = env.getProperty("test.msg");方法3@RequestMapping(path="/${query.all}.json", method=RequestMethod.GE...
阅读全文
摘要:Spring Boot建议使用这些模板引擎,避免使用JSP,若一定要使用JSP将无法实现Spring Boot的多种特性pom.xml org.springframework.boot spring-boot-starter-thymeleaf application.propertiesspring.thymeleaf.cache=tru...
阅读全文
摘要:package com.smartmap.sample.ch1.controller.view;import org.springframework.stereotype.Controller;import org.springframework.ui.Model;import org.springframework.util.StringUtils;import org.springframew...
阅读全文
摘要:package com.smartmap.sample.ch1.controller.view;import java.io.File;import java.io.IOException;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.core.env.Environ...
阅读全文
摘要:package com.smartmap.sample.ch1.controller.rest;import java.util.List;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;import org.springframework.beans.factory.annota...
阅读全文
摘要:package com.smartmap.sample.ch1.conf;import java.util.List;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;import org.springframework.context.annotation.Conf...
阅读全文
摘要:package com.smartmap.sample.ch1.controller.view;import java.io.IOException;import java.util.Collections;import java.util.HashMap;import java.util.List;import java.util.Map;import javax.servlet.Servlet...
阅读全文
摘要:4.0.0 com.xxxx xxxx war 1.0-SNAPSHOT xxxx http://maven.apache.org com.mysql.jdbc.Driver 127.0.0.1 3306 xxxx root root 4.1.6.RELEASE ...
阅读全文
摘要:http://blog.csdn.net/silentbalanceyh/article/details/4608360 (最终还是决定重新写一份Java基础相关的内容,原来因为在写这一个章节的时候没有考虑到会坚持往后边写,这次应该是更新该内容。而且很讨厌写基础的东西,内容比较琐碎,而且整理起来总会
阅读全文
摘要:http://blog.csdn.net/silentbalanceyh/article/details/4608272 (最终还是决定重新写一份Java基础相关的内容,原来因为在写这一个章节的时候没有考虑到会坚持往后边写,这次应该是更新该内容。而且很讨厌写基础的东西,内容比较琐碎,而且整理起来总会很多,有可能会打散成两个章节,但是我不保证,有可能一个章节就写完了,所以有时候希望基础的很多内...
阅读全文
摘要:1. pom.xml文件 2. App.java 3. DownTileMutipleThreadApp.java 4. DownTileSingleThreadApp.java 5. DownTileThread.java
阅读全文
摘要:输入M N ,M个苹果放到N个篮子里,可以有空篮子,并且122和212算一种放法,问一共多少种放法?
阅读全文
摘要:public static void XYtoGL(Coordinate coordinate) { double R = 6378137; coordinate.x = coordinate.x / Math.PI * 180.0 / R; coordinate.y = ((Math.atan(Math...
阅读全文
摘要:AccessOperate.cs using System;using System.Collections.Generic;using System.Linq;using System.Text;using ESRI.ArcGIS.Geodatabase;using ESRI.ArcGIS.Dat
阅读全文
posted @ 2011-12-29 15:24
ParamousGIS
浙公网安备 33010602011771号