![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java前端
呆痞ys
恰同学少年,风华正茂,挥斥方遒
展开
-
jsp和servlet相互传值总结
一jsp向servlet传值jsp——〉servlet*1通过form表单jsp传递<form action="servlet" method="post"> <input type="text" name="user"> <input type="submit" value="提交"></form>servlet接...原创 2019-12-20 23:53:39 · 231 阅读 · 0 评论 -
jsp传值到servlet(form表单传值)
jsp——〉servletjsp<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><!DOCTYPE html><html><head><meta charset="UTF-8"><titl...原创 2019-12-20 23:39:59 · 1435 阅读 · 0 评论 -
servlet传值到jsp(重定向)
servlet——〉jsppackage com.zparkep.servlet;import java.io.IOException;import javax.servlet.ServletException;import javax.servlet.annotation.WebServlet;import javax.servlet.http.HttpServlet;impor...原创 2019-12-20 23:33:30 · 1609 阅读 · 0 评论 -
servlet传值到jsp(转发)
servlet——〉jsppackage com.zparkep.servlet;import java.io.IOException;import javax.servlet.ServletException;import javax.servlet.annotation.WebServlet;import javax.servlet.http.HttpServlet;impor...原创 2019-12-20 23:28:55 · 498 阅读 · 0 评论 -
jsp通过url传值到servlet
jsp-------->servlet (url)jsp部分<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><!DOCTYPE html><html><head><meta charset="UT...原创 2019-12-20 22:23:53 · 1020 阅读 · 0 评论 -
html选择框修改样式
将单选框的redio样式改编成长方形<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><!DOCTYPE html><html><head><meta charset="UTF-8"><tit...原创 2019-12-19 21:38:40 · 1113 阅读 · 0 评论