Java web ch03_11_userReceive.jsp

Posted 蒙查查

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Java web ch03_11_userReceive.jsp相关的知识,希望对你有一定的参考价值。

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

  <head>

    <title>信息验证页面</title>

  </head>

  <body>

    <%

      String Name = request.getParameter("RdName");

      String Passwd = request.getParameter("RdPasswd");

      if(Name,equals("abcdef")&&Passwd.equals("123456"))

    {%>

    <jsp:forward page="ch03_11_LoginCorrect.jsp"/>

    <%}else{%>

    <jsp:forward page="ch03_11_loginMiss.jsp"/>

    <%} %>

  </body>

</html>





以上是关于Java web ch03_11_userReceive.jsp的主要内容,如果未能解决你的问题,请参考以下文章

Java web ch03_11_loginMiss.jsp

Java web ch03_11_userLogin.jap

javaweb jsp

Java web ch03_2_javalet.jsp

Java web ch03_14_applicatin.jsp

Java web ch03_4_include.jsp