<C:Choose>  Tag is similar to the Java Switch Statement In that case it allow us to choose desired statement that  has to be selected from substituted conditions. This tag has some more features like it has two more tags with it  Like <c:when> tag if the condition goes terminated to next step and the other one is <c: otherwise> works like default value in java switch case statement..And an attribute is also been used in the tag named “Test” that is used for evaluating Condition.



 

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.

 

<c:catch> JSTL Tag used for exception handling.. In this Program we are going to discuss about exception handling using <c:catch> core tag.

 

This tag casually used with <x:transform> tag this used to set parameter in XSL style sheet with in the reference of XML file in the Given tag.

 

                   This tag is used to access proper URL request parameter which is been accessed with URL also.

 

                This Function use to replace the given string in occurrence from the existing String.

 

This Function use to join all the array elements into String.

 

           This Function Returns the index within a string of the first occurrence of a substring.

 

This tag <fmt: setTimeZone> Is used to set the required Time Zone Into its Scoped variable, Which can access from it’s Body. Some Attributes also been used like var, value and scope.

 

               This Function tests the Input String starts with the given prefix or not.

 

This Function Checks that the Placed String Contains the Sub string or Not.

 

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 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.



 

This function uses to converts the string in lower case from upper case.

 

This tag used to create a loop over xml Documents this shows the value In which this is been implemented.

 

                  This Function removes the white Space from both side right and left side.

 

                           This Function return the sub set that is following the String.

 

<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 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 to use transforms the required Content from XML to XSL as we did in program. As Per condition we also create a XML File and a XSL file that will be represented on the web Browser as Output.

 

Page 1 of 5



About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular 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.