会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
python成长中
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
24
下一页
2020年9月24日
过滤器
摘要: 过滤器参数化 第一种:注解过滤器参数 @WebFilter(filterName="EncodingFilter",urlPatterns= {"/*"}, initParams= { @WebInitParam(name="encoding",value="UTF-8") }) @Override
阅读全文
posted @ 2020-09-24 14:22 python成长中
阅读(80)
评论(0)
推荐(0)
2020年9月22日
Java中Web页面信息获取
摘要: package com.imooc.regex; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.InputStre
阅读全文
posted @ 2020-09-22 21:50 python成长中
阅读(297)
评论(0)
推荐(0)
2020年9月20日
jQuery和Ajax联动
摘要: jQuery对象Ajax的支持 jQuery对Ajax进行封装,提供了$.ajax()方法 语法:$.ajax(options) Ajax函数的使用 Ajax函数的详细说明 "error" :function(xmlhttp, errorText){ if(xmlhttp.status !=200)
阅读全文
posted @ 2020-09-20 10:46 python成长中
阅读(108)
评论(0)
推荐(0)
2020年9月19日
jQuery与Ajax入门
摘要: jQuery介绍与下载安装 第三方厂商开发出来JavaScript库 jQuery的核心是选择器,用于获取页面元素 官网:jquery.com jQuery选择器实验室 document.getElementById("btnSelect").onclick = function() { var s
阅读全文
posted @ 2020-09-19 15:07 python成长中
阅读(76)
评论(0)
推荐(0)
2020年9月16日
JSON入门
摘要: JSON语法规则 数据由键(key)/值(value)描述,由逗号分隔 大括号代表一个完整的对象,拥有多个键/值对 中括号保存数组,多个对象之间使用逗号分隔 Javascript 访问JSON对象 JSON与字符串互相转换 JSON.parse()方法将字符串转换为JSON对象 JSON.strin
阅读全文
posted @ 2020-09-16 21:04 python成长中
阅读(115)
评论(0)
推荐(0)
JSTL与EL表达式
摘要: EL表达式应用 EL表达式的基本语法:${表达式} 示例:<h1>学生姓名:${student.name} </h1> <h1><p>姓名:</p>${requestScope.student.name}</h1> <h1><p>手机号码:</p>${requestScope.student.mob
阅读全文
posted @ 2020-09-16 13:46 python成长中
阅读(249)
评论(0)
推荐(0)
2020年9月14日
JSP九大内置对象
摘要:
阅读全文
posted @ 2020-09-14 11:09 python成长中
阅读(71)
评论(0)
推荐(0)
2020年9月11日
web.xml配置详解
摘要: 常用配置 修改web应用默认首页 <welcome-file-list> <welcome-file>index.html</welcome-file>//写首页的名称就行了 </welcome-file-list> Servlet通配符映射及初始化参数 <servlet> <servlet-nam
阅读全文
posted @ 2020-09-11 21:11 python成长中
阅读(204)
评论(0)
推荐(0)
中文乱码问题
摘要: 解决Post请求中文乱码问题 Tomcat默认使用字符集ISO-8859-1,属于西欧字符集 解决乱码的核心思路是将ISO-8859-1转换为UTF-8 Servlet中请求与响应都需要设置UTF-8字符集 1、第一种 String name = request.getParameter("user
阅读全文
posted @ 2020-09-11 19:20 python成长中
阅读(131)
评论(0)
推荐(0)
ServletContext与三大作用域对象
摘要: ServletContext(Servlet上下文对象),是web应用全局对象。 一个Web应用只会创建一个ServletContext对象 Java Web 三大作用域对象 HttpServletRequest - 请求对象 HttpSession - 用户会话对象 ServletContext
阅读全文
posted @ 2020-09-11 14:51 python成长中
阅读(231)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
24
下一页
公告