httpservletrequest request只能当参数吗

2024-11-24 18:38:04
推荐回答(1个)
回答1:

给一个例子你,希望对你能有帮助
package dao;

import javax.servlet.Filter;

import javax.servlet.FilterConfig;

import javax.servlet.ServletException;

import javax.servlet.ServletRequest;

import javax.servlet.ServletResponse;

import javax.servlet.FilterChain;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;

import javax.servlet.http.HttpSession;

import javax.servlet.http.HttpServletResponse;

import po.login;