You are here:   HomeJava Server PagesJava Standard Tag Lib (JSTL)JSTL Core c remove Tag

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

 

Some Necessary attributes are also used to make this tag a manner thing for use like we use “NAME” attribute that is used to set the parameter request in URL. The other attribute is “VALUE” that is been also use to set the value of parameter in URL.

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<html>

      <head>

               <title>&lt;c:param&gt;,&lt;c:Url&gt;Tag Example In J.S.P</title>

     </head>

         <body>

                    <p><b><center><br>

                        <c:url value="/definition.jsp" var="cmpltAddrs">

                               <c:param name="Tag" value="C_Url"/>

                               <c:param name="Admin" value="Dev"/>

                        </c:url>

                       ${cmpltAddrs}

                 </center></b></p>

         </body>

</html>

                    JSTL Core c param Tag

About Program…..

As per mentioned requirement taglib(tag library) from JSTL is been accessed. Then after all the required tag that made a structure of a program. In the body section the required values are set to be executed. The URL section we pass a URL of page that is been shown on the browser while execution the other parameters are the name and value will set in the output section as admin or user name. in the last all the HTML tags has to be closed.





About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), 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.



What's New and Popular