会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
gaoshengjun
不要被看似简单所蒙蔽 -致学习中的我
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
12
下一页
2020年5月25日
maven 概要性总结
摘要: 1本地仓库的配置 设置本地仓库为该路径E:\mvn_repository apache-maven-3.6.1-->conf/settings.xml文件 加入:<localRepository>E:\mvn_repository</localRepository> IDEA中设置: 每次创建项目时
阅读全文
posted @ 2020-05-25 11:34 gaoshengjun
阅读(195)
评论(0)
推荐(0)
2020年5月23日
redis Demo
摘要: Service层 Servlet层 前端页面
阅读全文
posted @ 2020-05-23 15:05 gaoshengjun
阅读(137)
评论(0)
推荐(0)
Lucene的快速入门
摘要: Lucene快速入门代码 package cn.itcast.javaee.lucene.firstapp; import cn.itcast.javaee.lucene.entity.Article; import org.apache.lucene.analysis.Analyzer; impo
阅读全文
posted @ 2020-05-23 13:54 gaoshengjun
阅读(153)
评论(0)
推荐(0)
redis 以及它的封装工具 Jedis
摘要: 1.1,什么是Redis: 参看:https://www.runoob.com/redis/redis-java.html Redis是一个开源的,内存中的数据结构存储系统,它可以用作数据库、缓存和消息的中间件。支持多种数据结构。 字符串Strings 散列 hash , 列表lists, 集合se
阅读全文
posted @ 2020-05-23 13:48 gaoshengjun
阅读(300)
评论(0)
推荐(0)
2020年5月22日
json ( json的遍历 与java的相互转换(jackSon工具))
摘要: JSON:JavaScript 对象表示法(JavaScript Object Notation)。 作用 是存储和交换文本信息的语法。类似 XML。JSON 比 XML 更小、更快,更易解析。 JSON 对象 var employees = { "firstName":"John" , "last
阅读全文
posted @ 2020-05-22 15:00 gaoshengjun
阅读(657)
评论(0)
推荐(0)
ajax (原生实现 与 jquery实现)
摘要: 1 原生javascript实现ajax请求 参见w3c "值得注意的是写请求路径是:一定不需要加 / “ <script type="text/javascript"> function fun() { var xmlhttp; if(window.XMLHttpRequest){ xmlhttp
阅读全文
posted @ 2020-05-22 14:55 gaoshengjun
阅读(194)
评论(0)
推荐(0)
2阶——动态代理 (方法增强,参数增强,方法体增强)小Demo敏感词汇过滤
摘要: 动态代理的格式 Porxy.newProxyInstance( ClassLoader loader, //指定当前目标对象使用类加载器 Class<?>[] interfaces, //目标对象实现的接口的类型 new InvocationHandler() { //事件处理器 @Override
阅读全文
posted @ 2020-05-22 10:52 gaoshengjun
阅读(221)
评论(0)
推荐(0)
2020年5月21日
2阶——web三大组件之2(Filter(过滤器) Listen(监听器))
摘要: 1.实现一个filter步骤 >编写一个java类实现Lister接口 @WebFilter("/*") //这样就不需要在web.xml文件中再配置了public class EncodingFilter implements Filter { } >在web.xml文件中配置 可以用注解 @We
阅读全文
posted @ 2020-05-21 17:00 gaoshengjun
阅读(176)
评论(0)
推荐(0)
2阶——jsp EL 与 自定义标签
摘要: EL表达式 ${pageContext.request.contextPath} 5.1 EL作用(替代 <%= %>) 语法: ${变量} 3.1 输出普通字符串: ${name} 3.2 输出对象属性: ${student.name} 注意: .name 相当于 .getName()方法 3.3
阅读全文
posted @ 2020-05-21 10:01 gaoshengjun
阅读(125)
评论(0)
推荐(0)
2020年5月20日
2阶——Session 与 Cookie
摘要: 因为Http协议是无状态的(即第一次请求访问 和第二次请求访问之间的数据不能进行交互)所以产生了Cookie 和session 1.Cookie cookie值的格式是key=value;key2=value2 (tomcat8之后cookie支持存储中文数据) Cookie的默认时效为Sessio
阅读全文
posted @ 2020-05-20 15:01 gaoshengjun
阅读(166)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
12
下一页
公告