jsp2.0中web.xml 的元素

來源:互聯網
上載者:User
 <jsp-config> 元素主要用來設定JSP 相關配置

<jsp-config> 包括<taglib> 和<jsp-property-group> 兩個子項目。

<taglib>元素在JSP 1.2 時就已經存在;
<jsp-property-group>是JSP 2.0 新增的元素:
<jsp-property-group>元素主要有八個子項目,它們分別為:
<description>:設定的說明;
<display-name>:設定名稱;
<url-pattern>:設定值所影響的範圍,如:/CH2 或 /*.jsp;
<el-ignored>:若為true,表示不支援EL 文法;
<scripting-invalid>:若為true,表示不支援<% scripting %>文法;
<page-encoding>:設定JSP 網頁的編碼;
<include-prelude>:設定JSP 網頁的抬頭,副檔名為.jsp
<include-coda>:設定JSP 網頁的結尾,副檔名為.jsp

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.