• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






天生自然

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

04 2020 档案

 
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:自定义标签-在页面输出HelloWorld
摘要:import java.io.IOException; import javax.servlet.jsp.JspException; import javax.servlet.jsp.tagext.SimpleTagSupport; public class HelloWorldTag extend 阅读全文
posted @ 2020-04-12 22:18 吴裕雄 阅读(199) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:使用Servlet作为控制器的MVC应用-用户登录验证操作
摘要:<%-- Document : login Created on : 2020-4-12, 16:50:16 Author : Administrator --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE ht 阅读全文
posted @ 2020-04-12 17:41 吴裕雄 阅读(227) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:访问Servlet的配置参数
摘要:/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open 阅读全文
posted @ 2020-04-12 15:23 吴裕雄 阅读(170) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:servlet服务-load-on-startup Servlet
摘要:/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open 阅读全文
posted @ 2020-04-12 14:10 吴裕雄 阅读(176) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:servlet获取表单请求参数并在客户端显示2
摘要:<%-- Document : form Created on : 2020-4-12, 11:07:16 Author : Administrator --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE htm 阅读全文
posted @ 2020-04-12 12:23 吴裕雄 阅读(247) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:servlet获取表单请求参数并在客户端显示
摘要:/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open 阅读全文
posted @ 2020-04-12 09:49 吴裕雄 阅读(204) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:session对象-属性可以在多个页面的跳转之间共享
摘要:<%-- Document : shop Created on : 2020-4-12, 8:49:11 Author : Administrator --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html 阅读全文
posted @ 2020-04-12 09:09 吴裕雄 阅读(374) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:response对象-增加带有中文的Cookie
摘要:<%-- Document : cnCookie Created on : 2020-4-12, 8:34:05 Author : Administrator --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE 阅读全文
posted @ 2020-04-12 08:42 吴裕雄 阅读(131) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:response对象-增加Cookie
摘要:<%-- Document : addCookie Created on : 2020-4-12, 8:16:06 Author : Administrator --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE 阅读全文
posted @ 2020-04-12 08:29 吴裕雄 阅读(193) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:response对象-重定向
摘要:<%-- Document : doRedirect Created on : 2020-4-12, 8:04:22 Author : Administrator --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYP 阅读全文
posted @ 2020-04-12 08:12 吴裕雄 阅读(125) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:response对象-服务器对客户端的响应
摘要:<%-- Document : img Created on : 2020-4-12, 7:49:34 Author : Administrator --%> <%@page import="javax.imageio.ImageIO"%> <%@page import="java.awt.Font 阅读全文
posted @ 2020-04-12 07:58 吴裕雄 阅读(144) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:操作request范围的属性
摘要:<%-- Document : draw Created on : 2020-4-12, 7:19:39 Author : Administrator --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html 阅读全文
posted @ 2020-04-12 07:43 吴裕雄 阅读(182) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:request对象-获取GET请求里的中文字符
摘要:<%-- Document : form Created on : 2020-4-11, 23:10:56 Author : Administrator --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE htm 阅读全文
posted @ 2020-04-11 23:46 吴裕雄 阅读(178) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:request对象-获取GET请求参数值
摘要:<%-- Document : form Created on : 2020-4-11, 23:10:56 Author : Administrator --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE htm 阅读全文
posted @ 2020-04-11 23:35 吴裕雄 阅读(313) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:request对象-获取请求头-请求参数
摘要:<%-- Document : form Created on : 2020-4-11, 23:10:56 Author : Administrator --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE htm 阅读全文
posted @ 2020-04-11 23:23 吴裕雄 阅读(324) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:pageContext对象-访问JSP之间的共享数据
摘要:<%-- Document : pageContextTest Created on : 2020-4-11, 22:30:37 Author : Administrator --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <! 阅读全文
posted @ 2020-04-11 23:06 吴裕雄 阅读(244) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:out对象-页面输出流
摘要:<%-- Document : outTest Created on : 2020-4-11, 22:16:56 Author : Administrator --%> <%@page import="java.sql.ResultSet"%> <%@page import="java.sql.St 阅读全文
posted @ 2020-04-11 22:25 吴裕雄 阅读(230) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:exception对象-JSP脚本的异常机制
摘要:<%-- Document : throwEx Created on : 2020-4-11, 22:04:20 Author : Administrator --%> <%@page contentType="text/html" pageEncoding="UTF-8" errorPage="e 阅读全文
posted @ 2020-04-11 22:12 吴裕雄 阅读(157) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:使用config获取JSP参数
摘要:<%-- Document : configTest2 Created on : 2020-4-11, 21:49:46 Author : Administrator --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCT 阅读全文
posted @ 2020-04-11 21:58 吴裕雄 阅读(304) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:使用config的一个方法getServletName()
摘要:<%-- Document : configTest Created on : 2020-4-11, 21:43:47 Author : Administrator --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTY 阅读全文
posted @ 2020-04-11 21:48 吴裕雄 阅读(427) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:获得Web应用配置参数
摘要:<%-- Document : getWebParam Created on : 2020-4-11, 20:03:43 Author : Administrator --%> <%@page import="java.sql.ResultSet"%> <%@page import="java.sq 阅读全文
posted @ 2020-04-11 20:34 吴裕雄 阅读(204) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:让多个JSP、Servelet共享数据
摘要:<%-- Document : put-application Created on : 2020-4-11, 19:51:55 Author : Administrator --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <! 阅读全文
posted @ 2020-04-11 19:59 吴裕雄 阅读(205) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:useBean、setProperty、getProperty指令
摘要:<%@ page contentType="text/html; charset=GBK" language="java" errorPage=""%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://ww 阅读全文
posted @ 2020-04-09 23:18 吴裕雄 阅读(193) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:forward转发用户请求
摘要:<%@ page contentType="text/html; charset=GBK" language="java" errorPage=""%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://ww 阅读全文
posted @ 2020-04-09 22:58 吴裕雄 阅读(230) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:include指令
摘要:<%@ page contentType="text/html; charset=GBK" language="java" errorPage=""%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://ww 阅读全文
posted @ 2020-04-08 23:50 吴裕雄 阅读(201) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:指定JSP页面的错误提示页
摘要:<%@ page contentType="text/html; charset=GBK" language="java" isErrorPage="true"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "htt 阅读全文
posted @ 2020-04-08 23:46 吴裕雄 阅读(126) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:指定JSP页面的描述信息
摘要:<%@ page contentType="text/html; charset=GBK" language="java" errorPage=""%> <!-- 指定info 信息 --> <%@ page info="this is a jsp"%> <!DOCTYPE html PUBLIC 阅读全文
posted @ 2020-04-08 23:43 吴裕雄 阅读(137) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:JSP脚本
摘要:<%@ page contentType="text/html; charset=GBK" language="java" errorPage=""%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://ww 阅读全文
posted @ 2020-04-08 23:30 吴裕雄 阅读(204) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:输出JSP表达式
摘要:<%@ page contentType="text/html; charset=GBK" language="java" errorPage=""%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://ww 阅读全文
posted @ 2020-04-08 23:26 吴裕雄 阅读(142) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:JSP声明
摘要:<%@ page contentType="text/html; charset=UTF-8" language="java" errorPage=""%> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>声明示例</title> 阅读全文
posted @ 2020-04-08 23:17 吴裕雄 阅读(134) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:JSP的基本原理
摘要:<%@ page contentType="text/html; charset=UTF-8" language="java" errorPage="" %> <html> <head> <title>欢迎</title> </head> <body> 欢迎学习JAVA WEB知识,现在的时间是: 阅读全文
posted @ 2020-04-07 23:33 吴裕雄 阅读(118) 评论(0) 推荐(0)
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:构建WEB应用
摘要:<%@ page contentType="text/html; charset=UTF-8" language="java" errorPage=""%> <html> <head> <title>欢迎</title> </head> <body> 欢迎学习JAVA WEB 知识。 </body> 阅读全文
posted @ 2020-04-07 23:29 吴裕雄 阅读(146) 评论(0) 推荐(0)
吴裕雄--天生自然 JAVA-ORACLE学习笔记:JAVA连接ORACLE操作
摘要:导入ORACLE连接的jar包,在安装ORACLE的路径下可以找到 在eclipse对应的文件右键build path选择config那项导入 效果如下 接着编写代码测试连接ORACLE数据库,代码如下: package pkage; import java.sql.Connection; impo 阅读全文
posted @ 2020-04-06 22:29 吴裕雄 阅读(227) 评论(0) 推荐(0)
吴裕雄--天生自然 JAVA连接MYSQL:解决Mysql错误:The server time zone value is unrecognized or represents more than one time zone
摘要:编程访问Mysql数据库时,报出时区错误如下: The server time zone value 'й' is unrecognized or represents more than one time zone 通常有以下两种解决方法: 第一,在数据库连接语句后添加?serverTimezon 阅读全文
posted @ 2020-04-05 20:41 吴裕雄 阅读(288) 评论(0) 推荐(0)