" title="" />
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Purpose of <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
Joined: Dec 19, 2012
Dec 19, 2012 08:05:05
What is the purpose of this uri specified in 'taglib'?
It is not connect to when application run,because without net connection i do my application smoothly.
But Unknown thing is why we specifying this URI??
Thanks in advance
Joined: Dec 17, 2012
Dec 19, 2012 08:18:00
This is core tagging library used to work with request, response, data rending data. This has special tags start with prefix set in attribute. it is more faster than scriptlet code and jsp tags on jsp pages.
Using jstl can be good practice for coding on jsp
Author and ninkuma
Joined: Jan 10, 2002
Dec 19, 2012 09:16:10
The fact that a URI
like a URL can be confusing, but it's just an identifier. It does not mean that any network connection is being made.
Asking smart questions
Books by Bear
Joined: Jul 06, 2005
Dec 19, 2012 13:33:33
In fact if you crack open the c.tld file you find in the jstl jar files, you will see this uri declared:
<taglib xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" version="2.1"> <description>JSTL 1.1 core library</description> <display-name>JSTL core</display-name> <tlib-version>1.1</tlib-version> <short-name>c</short-name> <uri>http://java.sun.com/jsp/jstl/core</uri> ...
I agree. Here's the link:
subject: Purpose of <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
don't understand "forEach" tag's attribute "items"
when i use login validator my validation not work properly
Problem with <jsp:attribute> standard action
Want to do a sample web service application(SOAP based) for practice.Please suggest an example..
Problem in I18N in Spring
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014