完成JSP+JavaBean的基本实验

receive.jsp:

<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>





<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>


 
   
   
    My JSP 'receiver.jsp' starting page
   
 
 
    
 
 
 

 
 
 
    <%=mystudent.getUsername() %>

    <%=mystudent.getPassword() %>

 

send.jsp:

<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>




SEND



 

姓名:
   
 


 

密码:
   
 


 


   
 




你可能感兴趣的:(完成JSP+JavaBean的基本实验)