Example analysis of param tag usage in JSP _jsp programming

Source: Internet
Author: User

This article analyzes the usage of PARAM tags in jsp. Share to everyone for your reference, specific as follows:

The use of PARAM tags in jsp

<jsp:param> operations are used to provide additional information to other labels in the form of a "name-value" pair. It is used in conjunction with <jsp:include>, <jsp:forward>, <jsp:plugin>, as follows:

Copy Code code as follows:
<jsp:param name= "paramname" value= "Paramvalue"/>

Where, name is the keyword associated with the property, value is the property.

1. <jsp:param> and <jsp:include> work together

includeaction.jsp

 
 

come.jsp

 
 

2. <jsp:param> and <jsp:forward> work together

User Login Sample

login.jsp

 
 

checklogin.jsp

 
 

success.jsp

 
 

I hope this article will help you with JSP program design.

Related Article

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.