自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

翻译 springmvc 如何读写properties文件

1、在spring.xml里加上这个配置<bean id="propertyPlaceHolderConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="systemPropertiesModeName" ...

2018-05-08 15:05:10 4693 1

转载 spring mvc获取到的参数附带特殊符号,接收后被转义的处理方法

WEB开发时,在前端通过get / post 方法传递参数的时候  如果实参附带特殊符号,后端接收到的值中特殊符号就会被转义例如该请求: http://localhost:10001/demo/index.do?name=张三(1)注:中文()不会出现此种情况      后台就收到的实际 name 值为:   张三(1)(其实为html中  (  符...

2018-05-08 10:03:32 18336 2

原创 JAVA解析百度天气JSON字符串

以解析百度天气为例public static void main(String[] args) throws IOException { //回复天气信息 String ak = "自己的AK"; String getURL = "http://api.map.baidu.com/telematics/v3/weather?output=json

2015-12-03 10:31:30 525

原创 JAVA 进行https传输中文乱码解决

以百度天气接口测试public static void main(String[] args) throws IOException { String ak = "自己的AK"; String getURL = "http://api.map.baidu.com/telematics/v3/weather?output=json&location=西安&ak="

2015-12-03 10:26:56 2329

原创 用java解析xml

java解析XML文件

2015-11-17 22:38:59 499 1

原创 使用DOM模型实现图片在div之间切换

未选中前选中后

2014-07-31 19:28:43 539

原创 jsp动态生成table

function generate(){ var line = document.getElementById("line").value;//获取行数 var row = document.getElementById("row").value;//获取列数 var div = document.getElementById("tab");//获取到存放生成ta

2014-07-22 17:22:07 4418

原创 利用监听器实现网站在线人数统计

ServletContextListenerImpl.java代码public class ServletContextListenerImpl implements ServletContextListener {public void contextDestroyed(ServletContextEvent event) {ServletContext application =

2014-07-22 16:15:14 1204

原创 在servlet通过xml文件访问properties文件

public void doPost(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException {response.setContentType("text/html");PrintWriter out = response.getWriter();

2014-07-21 17:11:02 480

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除