JavaJavaweb form提交数据http://localhost:8080/webTest/show.jsp?uname=%E5%B0%8F%E6%98%8E&upwd=121&uage=12&uhobbies=%E7%BE%BD%E6%AF%9B%E7%90%83register.jsp register.jsp Title 用户名: 密码: 年龄: 爱好: 足球 篮球 羽毛球 乒乓球作者王明昌发布时间2019-09-28 http://localhost:8080/webTest/show.jsp?uname=%E5%B0%8F%E6%98%8E&upwd=121&uage=12&uhobbies=%E7%BE%BD%E6%AF%9B%E7%90%83register.jsp register.jsp复制<%-- Created by IntelliJ IDEA. User: eric Date: 2019-09-08 Time: 17:05 To change this template use File | Settings | File Templates. --%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> Title 用户名: 密码: 年龄: 爱好: 足球 篮球 羽毛球 乒乓球 show.jsp 复制<%-- Created by IntelliJ IDEA. User: eric Date: 2019-09-08 Time: 17:10 To change this template use File | Settings | File Templates. --%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> Title <% //设置编码 request.setCharacterEncoding("utf-8"); String name = request.getParameter("uname"); int age = Integer.parseInt(request.getParameter("uage")); String pwd = request.getParameter("upwd"); String[] hobbies = request.getParameterValues("uhobbies"); %> 注册成功,信息如下 姓名:<%=name %> 年龄:<%=age %> 密码:<%=pwd %> 爱好: <% if(hobbies !=null){ for (String hobby :hobbies){ out.print(hobby+" "); } } %>
2019-10-16javaweb mysql的增删改查参考文章:https://blog.csdn.net/qq_40718312/article/details/95489257 maven jar包查询地址:https://search.maven.
2020-02-01ssm框架搭建整体结构  基本的配置 pom.xml 4.0.0 con.zf ssm2 1.0-SNAPSHOT jar ssm2 Maven Webapp http://www.example.com UTF
2019-11-12javaweb开发 idea ssm开发(一)创建项目 新建一个空白项目 创建父工程 选中Maven 不要勾选任何框架->com.zf.edu common-parent  删除src 添加部分代码  创建model子工程   新建一个m
2019-11-25javaSSM学习第一天(mybatis)mybatis mybatis是持久层框架,封装了jdbc mybatis入门 官网:https://mybatis.org/mybatis-3/zh/index.html 依赖: org.mybat
2019-11-13javaweb开发 idea ssm开发(二)dao整合mybatis 添加依赖 写公共接口 继承接口 在子类中引入父类  引入依赖model  dao层创建mapper      service 依赖dao 添加依赖  创建 
2020-03-15Java入门基础整理(一)hello 执行 javac Hello.java 生成 Hello.class // Hello 要与文件名相同 public class Hello{ // 程序执行的起点 public stat