天天看點

2016/11/18—JSP實用技術

1、設計一個html頁面(填寫資訊的表單),CustomerInfo.html;

2、處理表單參數的Servlet程式,CustomerInfo.java;

3、cookies檔案存儲位置:

C:\Users\你的使用者名(一般是Administrator)\AppData\Roaming\Microsoft\Windows\Cookies

cookies檔案還有可能在這儲存C:\users\你的使用者名(一般是Administrator)\appdata\local\Microsoft\Internet Explorer\DOMstore(是隐藏的,需要揪出來);

4、表單資料的背景處理、設定和測試cookie

UserType.html會員資訊輸入

ServletCookie.java

IsMember.html

IsNotMember.html