Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7612179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:50:42+00:00 2026-05-31T01:50:42+00:00

I read the info about the JSTL tag here: https://stackoverflow.com/tags/jstl/info And there’s one thing

  • 0

I read the info about the JSTL tag here:

https://stackoverflow.com/tags/jstl/info

And there’s one thing I really don’t understand…

When you do reference some files like here:

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

or here:

<html xmlns:c="http://java.sun.com/jsp/jstl/core">

When is this file actually read? Is this file actually read at all from the network? If that file is actually read from the network, how would development/testing be done in a highly-securized environment where there’s no external network access at all (no Internet)?

Can this file (these files) be read once and saved locally and then referenced locally?

If I try to open that webpage or to do a wget http://java.sun.com/jsp/jstl/core, I’m getting apparently something that is meant to be read by a human, not by a webapp server.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T01:50:43+00:00Added an answer on May 31, 2026 at 1:50 am

    When the servletcontainer starts up, it scans the entire classpath for any .tld files, including the /META-INF folder of all deployed JAR files. The JSTL JAR file has among others a c.tld file which starts like follows:

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

    Note the <uri> entry. This is parsed and remembered during servletcontainer’s startup. The .tld file declares for every single tag the tag handler class which represent the concrete Java code doing all the work “behind the scenes”. For example, the <c:out> is declared as follows:

     <tag>
        <description>
            Like &lt;%= ... &gt;, but for expressions.
        </description> 
        <name>out</name>
        <tag-class>org.apache.taglibs.standard.tag.rt.core.OutTag</tag-class>
        <body-content>JSP</body-content>
        ...
    

    Now, when a JSP file declares a taglib with exactly this URI, then the .tld file in question will be used to locate the tag classes and execute them.

    So, the taglib URI is just a virtual address which exist only in the context of the servletcontainer and not outside, even though some taglibs happen to have a real HTTP site behind that URI. The URI is just supposed to be an unique identifier. It doesn’t necessarily need to be http://something. It can be everything, but a website address is a relatively robust unique identifier. This guarantees almost 100% that no other taglib will have the same URI. You see this uniqueness also back in package names by the way.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Read about Server push here . I want to push data to client from
http://jsbin.com/izupek/edit#javascript,html all 3 examples are working and parsing my date. Ive read in https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date/parse
Is possible to read info about the filesystem of a physical disk (e.g., if
I need to read a cookie created on https://sub1.domain.com from http://origin.domain.com using ColdFusion. I've
For instance, if I have: C:\42\main.py and C:\42\info.txt and I want to read info.txt
I am trying to read some info from a text file by using windows
Read (skimmed enough to get coding) through Erlang Programming and Programming Erlang . One
I save in a file some info about users (like number of times user
i've read on argosoft.com that it would be possible sending email using the http
I need to authenticate users and get info about them from an ASP.Net application.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.