• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
-little-boy
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5 6 7 8 9 下一页

2025年2月10日

JavaWeb学习日报9
摘要: Spring Boot整合MyBatis 代码示例 java @Mapper public interface UserMapper { @Select("SELECT * FROM user WHERE id = #{id}") User getUserById(int id); } @Servi 阅读全文
posted @ 2025-02-10 23:55 小火柴(^_^) 阅读(9) 评论(0) 推荐(0)
 
JavaWeb学习日报8
摘要: RESTful API设计 代码示例 java 复制 @RestController @RequestMapping("/api/users") public class UserController { @GetMapping("/{id}") public User getUser(@PathV 阅读全文
posted @ 2025-02-10 00:59 小火柴(^_^) 阅读(9) 评论(0) 推荐(0)
 
 

2025年2月8日

JavaWeb学习日报7
摘要: Spring MVC入门 代码示例 java @Controller public class HelloController { @RequestMapping("/hello") public String hello(Model model) { model.addAttribute("mes 阅读全文
posted @ 2025-02-08 17:33 小火柴(^_^) 阅读(7) 评论(0) 推荐(0)
 
 

2025年2月7日

学习日报
摘要: Filter与Listener 代码示例 java @WebFilter("/*") public class LogFilter implements Filter { @Override public void doFilter(ServletRequest request, ServletRe 阅读全文
posted @ 2025-02-07 11:12 小火柴(^_^) 阅读(9) 评论(0) 推荐(0)
 
 

2025年2月6日

JavaWeb学习日报5
摘要: JSTL与EL表达式 代码示例 jsp <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <c:forEach var="item" items="${items}"> <p>${item}</p> </c:forEac 阅读全文
posted @ 2025-02-06 22:35 小火柴(^_^) 阅读(11) 评论(0) 推荐(0)
 
 

2025年2月5日

JavaWeb学习日报4
摘要: 学习内容 JSP语法:<% %>脚本、<%= %>表达式、<%@ %>指令。 JSP与Servlet的结合。 代码示例 jsp <%@ page contentType="text/html;charset=UTF-8" language="java" %> <html> <head> <title 阅读全文
posted @ 2025-02-05 18:14 小火柴(^_^) 阅读(12) 评论(0) 推荐(0)
 
 

2025年2月4日

JavaWeb学习日报3
摘要: 前端部分 HTML:负责网页的结构(页面元素和内容) CSS:负责网页的表现(页面元素的外观、位置等页面样式,如颜色、大小等) JavaScript:负责网页的行为(交互效果) HTML 图片标签:img src:指定图像的url width:指定图像的宽度 height:指定图像的高度 标题标签: 阅读全文
posted @ 2025-02-04 18:01 小火柴(^_^) 阅读(11) 评论(0) 推荐(0)
 
 

2025年2月3日

JavaWeb学习日报2
摘要: 学习内容 HttpServletRequest和HttpServletResponse的使用。 获取请求参数并返回JSON数据。 代码示例 java @WebServlet("/user") public class UserServlet extends HttpServlet { @Overri 阅读全文
posted @ 2025-02-03 09:38 小火柴(^_^) 阅读(13) 评论(0) 推荐(0)
 
Python爬虫日记之爬取淘宝商品数据
摘要: 成功爬取淘宝商品数据 使用代码如下 # 声明第三方库/头文件 from selenium import webdriver from selenium.common.exceptions import TimeoutException from selenium.webdriver.common.b 阅读全文
posted @ 2025-02-03 09:01 小火柴(^_^) 阅读(267) 评论(0) 推荐(0)
 
JavaWeb学习日报1
摘要: 学习内容 Servlet生命周期:init() → service() → destroy()。 创建第一个Servlet并部署到Tomcat。 代码示例 @WebServlet("/hello") public class HelloServlet extends HttpServlet { @O 阅读全文
posted @ 2025-02-03 00:17 小火柴(^_^) 阅读(13) 评论(0) 推荐(0)
 
 
上一页 1 2 3 4 5 6 7 8 9 下一页

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3