This tag works with two other tags named <x: when>,<x:otherwise>. In other words if we define this tags resembles like switch statement from primitive JAVA code. User has to choose according to requirement which statement will be selected and run.
This tag in JSTL is used to read(parsing) the Date as per required format Pattern. Attributes That are mandatory to use are avail in this tag like value or pattern. The main attribute Is pattern That will instruct that in which format the date will be displayed.
This tag is Used to represent number as parsing Type like to display the number with decimal value or with only Integer type. As shown in the example below some attributes like value and var used to implement in that program. Var attribute use to store the variable value. Value will be use to assign the type of number.
This tag is Just Use to Display The Date and time In unique formats like in long style, Medium style. The style to represent date in “yyyy-dd-mm” format. As per other tags the required attributes are also used in this tag.
This tag <c: redirect> redirects or forward to other URL or alternative URL provided in the condition. It also supports <c: param> tag some attributes are also use to make it proper like “URL” Attribute this will use to redirect the browser to other web page.
This tag is used to remove the variable from specified place or with the reference of scope of the variable when the particular space is not set on the first instance for removing variable. This tag ensures that it will remove any scoped resource or variable it tells to remove. Some attributes it also required for it. Like “var” variable name that has to be removed with the help of this tag.
This tag is commonly use for the set property action of any object like to set value, property name. Their also some attributes are used to this tag like “Value” that’s use to save the information. “var” the variable name that has to store the information about value. The other thing this tag is use to evaluates the expression.
<c: if> this tag is similar to ‘IF’ control statement of java. This tag will use to execute when the given condition is true in the sense. Some attributes are used to implement in that tag like ‘test’ this is helpful to evaluate the condition….
This tag <c: import> is used to import the absolute URL and show the content to another page. Some mandatory attributes are used to implement on this tag like “URL” this attribute use to retrieve and import the content from one page to another page. Other attributes like “scope” and “var” these are also used as required but this are not compulsory for using in this tag.
This Tag is been Only Used To Break string into Tokens and after that to retrieve them each from the tokens..this quite similar as <c: foreach> bt a major difference is b/w both in that the “Token” tag is been use within the “Delims” to represent characters as delimiters…
Dinesh Thakur holds an B.C.A, MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular Computer Notes blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.