Application and function of the hidden attribute of input tag
Definition: transmits state information about client/server interactions.
Transmits state information about client/server interaction.
Explain:
This element is not displayed in the page and is sent when the form is submitted with the value of the Values property.
--hidden fields, not displayed on the page, but can be passed to the next page, or can be obtained by the JavaScript function on this page.
The implied domain is primarily used to pass dynamic parameters when the form is submitted.
four Common tag libraries :
<c:set <c:if <c:foreach <c:out
Where the If label cannot have an else statement and must have the test property
%%%%%%%%%%%%%%%%%%%%%%%%
Pass parameters between pages, and one is to use the Getgarameter () method to get the Name property value of the front page input tag
In the servlet:
int count;//Assume it's the value you want to pass.
Request.setattribute ("Countname", count);
In the JSP:
<% int count= (int) requestsetattribute ("Countname");%>
Then put the resulting value in the appropriate position
The hidden attribute of the input tag, four commonly used jstl tag libraries