![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
WEB
mengsz1
我爱学习
展开
-
jsp——forward,param
以例子来说明:forward是jsp的页面跳转标签param是jsp指定某个参数的值,必须和jsp:forward,jsp:include,jsp:plugin 等一起协同使用1.login.jsp<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>...原创 2018-12-20 09:26:40 · 390 阅读 · 0 评论 -
出错页处理
1.jsp<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isErrorPage="false" errorPage="error.jsp"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN原创 2018-12-17 14:52:45 · 342 阅读 · 0 评论 -
Servlet-登陆验证(含.xml文件配置)
文件结构:Servlet:Login.javapackage dmp;import java.io.IOException;import javax.servlet.ServletException;import javax.servlet.http.HttpServlet;import javax.servlet.http.HttpServletRequest;import ...原创 2018-12-24 17:15:50 · 243 阅读 · 0 评论 -
WEB-js验证
js实验——用户名,密码验证<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/htm原创 2018-12-24 20:39:37 · 356 阅读 · 1 评论