Jstl param URL Redirect Import

Source: Internet
Author: User

Import Label

Import tab for importing other pages

Property:

* URL: The path of the introduction page

* Context: Project name

* Var: Save the introduced page to a variable

* Scope: Save to a scope.

Code:

<c:import var= "I" url= "/jstl/foreach.jsp" context= "/day13" scope= "page" ></c:import> ${i}

URL Tags:

URI: Uniform Resource Identifier: http://www.baidu.com [email protected]

URL: Uniform Resource Locator: HTTP://WWW.BAIDU.COM/DAY13/JSTL/DEMO1.JSP

URL Tags: the primary role for URL rewriting. (You want to use the session when you disable cookies.)

Property:

* Value:url Path

* Context: Project name

* var: Save the path to a variable

* Scope: Save variables in a range

Code:

<c:url value= "/jstl/foreach.jsp" context= "/day13"/>: Disable cookies to see changes in the path.

REDIRECT Label

REDIRECT tags are used for redirection

Property:

* URL: Redirect Path

* Context: Project name

Param label

PARAM tags cannot be used alone, and they need to be used in combination with a path tag.

Property:

* Name: Parameter name

* Value: Values of parameters

Code:

<c:param name= "name" value= "AAA" ></c:param>--Accept Parameters ${param.name}

Jstl param URL Redirect Import

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.