when we use the taglib given above, we are pointing our uri to http://java.sun.com, but it actually refers to the files in the local library(the jars which we have put inside the WEB-INF/lib - jstl.jar and standard.jar). wbat is the purpose of this uri?
without this uri, i could not run the corresponding tags.
[ July 12, 2005: Message edited by: Bear Bibeault ]
is my guess right?
if i am right please tell me what is that 'some file'
some file is taking this input "http://java.sun.com/jsp/jstl/core" and leading the jsp to refer the file c.tld.
That "some file" is c.tld itself.
If you look in the tld file, you will see the URI declaration. Each TLD should have a unique URI (that's the U or URI) to identify it.
That's one of the reasons a URL-styled URI was chosen: since domains are uniquely "owned", URIs that you define should never collide with URIs that I define, since we will each use URIs based upon domains the we respectively own. For example, I would never expect to see any else use the domains bibeault.org or 3chiles.com in a URI as they are domains that I own.
i have one more question how does the container know that it should take c.tld? c.tld is in some folder inside the jstl.jar. how does the container find it?
[ July 14, 2005: Message edited by: Bear Bibeault ]
i guess the 'that file' must be an xml file like web.xml.
Show some initiative and open up c.tld for yourself. You will readily see its format.
Originally posted by Bear Bibeault:
Marco, please do not post your question in more than one thread. It wastes people's time when multiple redundant conversations take place.
I know but when i posted i haven' s seen this post. Just see it i post here.
However thanks for reply.