javaweb學習筆記

來源:互聯網
上載者:User

jsp:指令(page:import屬性,contentType屬性和pageEncoding屬性,session屬性,errorpage屬性和iserrorpage屬性,buffer屬性和autoFlush性,isThread屬性,isELgnored屬性include,taglib),聲明,運算式,指令碼,動作,注釋。

javabean:javabean應用,;jsp標準動作:<jsp:userBean><jsp:setProperty><jsp:getProperty><jsp:include><jsp:forward>
<jsp:param>

內建對象:常用內建對象:out(方法:print(),println(),write());  request response session application ;其他內建對象:page pagecontext config exception

jsp四種作用範圍分別使用pageContext,request,session,application來表示,他們都具有getAttribute()和setAttribute方法。

servlet:servlet生命週期(init(),service(),destory(),),servlet資料處理(讀取表單資料,處理http請求前序,設定http響應前序),重新導向與請求轉寄,cookie(getMaxAge(),getVAlue(),getCommenr(),/set)
,session ,URL重寫,servletcontext介面,

EL和JSTL:EL基礎文法,EL使用,EL隱含對象,EL運算子;JSTL簡介,核心標籤庫,I18n便簽庫,EL函數庫;

監聽和過濾:監聽器概述,上下文監聽,會話監聽,請求監聽;過濾器簡介,實現過濾器,過濾器鏈;

ajax:ajax簡介(非同步javascript和xml);ajax工作原理(整合javascript,xml,css,DOM),xmlHttpRequest對象(方法:abort();getAllResponseHeaders();getResponseHeader(header);open(method,url);send(content);setRequestHeader(header,value);屬性:onreadystatechange;readyState;responseText;reposeXML;status;statusTest),ajax樣本(時鐘(SimpleDateFormat()),動態更新下拉式清單,工具提示)

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.