上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页
摘要: 1 Definite and Indifinite articles Indefinite articles: a, an, some Definite article: the 2 a and the Did you see a moive last night? Yes I saw a come 阅读全文
posted @ 2018-03-01 10:11 Latiny 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 1 为什么需要ServletContext 技术 显示网站多少人在线,显示当前登录者是第几位登录者等信息。 2 什么是ServletContext 可以把它想象成一个服务器上的公共空间,每个用户都可以访问到它。 Web 容器在启动时,它会为每个Web 应用程序都创建一个对应的ServletConte 阅读全文
posted @ 2018-02-22 12:22 Latiny 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 1 什么是会话 用户开一个浏览器访问某个网站,点击多个链接,访问服务器多个web资源,然后关闭浏览器,整个过程称之为会话,与打电话类似。会话过程要解决一些问题, 每个用户在使用浏览器与服务器进行会话时,会产生一些数据,服务器需要为每个用户保存这些数据。Servlet 保存会话信息的技术有:sessi 阅读全文
posted @ 2018-02-20 12:00 Latiny 阅读(606) 评论(0) 推荐(0) 编辑
摘要: 1 Many sentences in English contain two clauses: a main clause and a "that" clause. The "that" clause contains "that" + S + V. The "that" clause is th 阅读全文
posted @ 2018-02-18 14:29 Latiny 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 实现上图的分页功能,每页显示3条数据,每页显示3页供用户访问,点击左右双箭头时,可以跳转至上一个或者下一个大页,如点击右双箭头显示如下: 1 连接数据库的工具类 1 package com.latiny.db; 2 3 import java.io.*; 4 import java.sql.*; 5 阅读全文
posted @ 2018-02-09 17:16 Latiny 阅读(861) 评论(0) 推荐(0) 编辑
摘要: 今天在做Object 自动转为Integer 类型之后的判断,遇到一个不理解的点,当数值超过127之后,两个数值相同的Object 对象用 == 判断的结果是false。 结果: falsetruetrue 之前隐约记得数值在 -128 与 127之间时,Integer 对象会特别处理,但是具体怎么 阅读全文
posted @ 2018-02-08 18:11 Latiny 阅读(10452) 评论(0) 推荐(0) 编辑
摘要: java 乱码分很多种,这里主要研究解决http请求中出现乱码的情况。 http请求出现中文乱码的主要原因:发送方与接收方编码不一致,服务器默认支持的编码与web应用不一致,如:tomcat 是国外程序员开发的,页面默认编码为ISO-8859-1,而我们很多中文浏览器默认的编码为:UTF-8,如果不 阅读全文
posted @ 2018-02-01 19:46 Latiny 阅读(1610) 评论(0) 推荐(0) 编辑
摘要: Web 服务器收到一个http请求,会针对每个请求创建一个HttpServletRequest 和 HttpServletReponse 对象,response用于向客户端发送数据,request用于从客户端请求数据。 1 HttpServletRequest HttpServletRequest 阅读全文
posted @ 2018-02-01 14:07 Latiny 阅读(473) 评论(0) 推荐(0) 编辑
摘要: 1 Quantifiers are used to describe the number or amount of something. Certain quantifiers are used with certain kinds of nouns. a couple of a little a 阅读全文
posted @ 2018-01-30 10:49 Latiny 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 1 Sharp (adjective) means having a thin edge or point that cuts things easily. "Sharp" can also mean intelligent and quick to understand things. Other 阅读全文
posted @ 2018-01-29 10:49 Latiny 阅读(305) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页