当前页面: 开发资料首页 → JSP 专题 → Oracle 和 JSP 开发的小型信息管理系统 (四) 源代码3
摘要: Oracle 和 JSP 开发的小型信息管理系统 (四) 源代码3
//add.jsp 添加信息页面
<%
/*Cookie c[]=request.getCookies();
if(c==null)
{response.sendRedirect("login.jsp");}*/
String userName=(String)session.getAttribute("admin");
if(userName==null)
{response.sendRedirect("login.jsp");}
out.println("Welcome, "+userName);
request.setCharacterEncoding("big5");%>
<%@ page contentType="text/html;charset=big5"%>
<head>