站内搜索: 请输入搜索关键词
当前页面: 图书首页 > JavaServer Pages, Second Edition

JavaServer Pages, Second Edition

[ directory ] Previous Section Next Section

2.8 Tags Learned in This Chapter

<%-- --%> JSP comment
Parameters: None
Body: None
Anything within the comment tag is removed by the page compiler at translation 
time.

jsp:include Include tag
Parameters:
    page: Specifies the page to be included
Body: None
The named page is evaluated and the results included into the output at request time.

jsp:forward Forward tag
Parameters:
    page: Specifies the page to be included
Body: None
Control passes to the named page. The calling page must not contain any text before 
or after the tag.

@include Include directive
Parameters:
    file: Specifies the file to be included
Body: None
The named file is included into the servlet built by the page compiler at translation 
time.

    [ directory ] Previous Section Next Section