<%@ page language="java" pageEncoding="gb2312"%><%@page import="bean.LoginBean"%><jsp:useBean id="user" class="bean.LoginBean" scope="page"><jsp:setProperty name="user" property="*"/></jsp:useBean><%if (user.checklogin()){String username = request.getParameter("username");session.setAttribute("username", username);%><jsp:forward page="welcome.jsp"></jsp:forward><%} else {%><jsp:forward page="error.jsp"></jsp:forward><% }%>
添加回答
举报
0/150
提交
取消