摘要:
HelloServlet类继承HttpServlet利用HttpServletResponse对象 HelloServlet类的doGet()方法先得到username请求参数,对其进行中文字符编码转换,然后判断username是否为空,如果为空就返回403响应状态代码,否则就通过HttpServl 阅读全文
posted @ 2018-02-19 20:38
sinceForever
阅读(1214)
评论(0)
推荐(0)
摘要:
DAO层单元测试编码和问题排查 SecKillDaoTest .java(注意接口参数使用注解@Parm(“parameter”)) package org.secKill.dao;import org.junit.Test;import org.junit.runner.RunWith;impor 阅读全文
posted @ 2018-02-19 20:36
sinceForever
阅读(206)
评论(0)
推荐(0)
摘要:
Activity布局简述 基于xml的布局 Main.xml(调用工程res/layout/main.xml定义的界面元素完成布局显示) <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas 阅读全文
posted @ 2018-02-19 20:34
sinceForever
阅读(1006)
评论(0)
推荐(0)
摘要:
新建工程spring boot 使用Maven管理, 在官网(http://atart.spring.io)下载demo后,加入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-st 阅读全文
posted @ 2018-02-19 20:17
sinceForever
阅读(151)
评论(0)
推荐(0)

浙公网安备 33010602011771号