验证码没了,我裂开
<%@ page import=“java.net.URLEncoder” %>

<%@page contentType=“text/html;charset=UTF-8” language=“java” pageEncoding=“UTF-8”

%>

<%String username=“ZZW”;
//request.setAttribute(“username”,username);%>
<%@ include file=“header.jsp”%>

Hello World!

<%
int count=0;
Object o=application.getAttribute(“count”);
if(o !=null)
{
count=(Integer)o;
}
count++;
application.setAttribute(“count”,count);
request.setAttribute(“count”,count);
String name=“张某人”;
response.sendRedirect("./login.jsp?name=" + URLEncoder.encode(name,“UTF-8”));
%>
<%=
count
%>


<jsp:forward page="<%=“forward.jsp”%>"></jsp:forward>
<jsp:include page="<%=“footer.jsp”%>"/>a

相关文章:

  • 2021-04-29
  • 2022-12-23
  • 2022-01-15
  • 2021-05-13
  • 2021-07-31
  • 2021-04-05
  • 2021-08-13
  • 2021-10-25
猜你喜欢
  • 2023-02-20
  • 2022-12-23
  • 2021-12-20
  • 2021-10-29
  • 2021-04-03
  • 2022-01-09
  • 2021-08-07
相关资源
相似解决方案