Struts Source Code Research - HTML-CANCEL Tag Application Notes [Reserved]

xiaoxiao2021-03-06  20

The HTML: Cancel tag in Struts is a label that is often used in Form, the main function is Cancel's current Form, generally written as follows:

============================================================================================================================================================================================================= =====

============================================================================================================================================================================================================= =====

This tag will generate the following HTML code:

BCANCEL = true is a JavaScript, BCANCEL is a variable that Struts automatically adds a variable in JavaScript code for us.

This JavaScript is a short summary of this as follows:

============================================================================================================================================================================================================= =====