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

  • Home
  • SEARCH
  • 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 653367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:22:28+00:00 2026-05-13T22:22:28+00:00

I feel like I am missing something – from what it seems, JSP comes

  • 0

I feel like I am missing something – from what it seems, JSP comes out of the box with support for tags, as this question’s answer shows (the guy was asking a pure-jsp question and got an answer involving tags).
But if I try to run the given code

<c:out value="${myString}"/>

(with myString defined before, of course), the jsp just writes the above line into the html.

Do I have to do something extra to enable it?

  • 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-13T22:22:28+00:00Added an answer on May 13, 2026 at 10:22 pm

    JSTL support is dependent on the server/servletcontainer used. Some ships with JSTL, others don’t. This is regardless of the JSP/Servlet version. Usually, normal JEE servers such as WildFly/Payara/TomEE already ship with JSTL out the box, but barebones servletcontainers such as Tomcat/Jetty/Undertow don’t. For them you’ll need to install JSTL yourself.

    It’s actually pretty simple (assuming you’re using Servlet 2.5 or newer):

    1. Install JSTL as per instructions in this answer: How to install JSTL? The absolute uri: http://java.sun.com/jstl/core cannot be resolved.

    2. Declare the tags in top of JSP as per this JSTL documentation (click any of the taglibs to see the declaration examples). For JSTL core it’s the following:

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

    That’s all. If you’re (still) on Servlet 2.4, then you’ll need to download jstl.jar and standard.jar instead (which are part of JSTL 1.1). Remaining steps are the same (just put in classpath and declare in top of JSP).

    You may notice that some poor online tutorials would suggest to extract the JAR file and clutter the webapp’s web.xml with the TLD declarations. You should never do that, this is a wrong suggestion which is caused by the change in taglib URI’s during the JSTL 1.0 -> JSTL 1.1 step. Instead of updating the taglib URI’s in JSP, ones decided to redefine the old taglib URI’s in web.xml and it became a myth.

    JSP itself ships with only the <jsp:xxx> tags out of the box. These are not part of JSTL.

    See also:

    • What exactly is Java EE?
    • How to install JSTL? The absolute uri: http://java.sun.com/jstl/core cannot be resolved
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I feel like I'm missing something obvious, but I can't work out why my
I feel like this is easy but I am missing something... Using jQuery, I
I feel like this should be a no brainer, but clearly I'm missing something...
I feel like I am missing something very simple here, but this is the
I feel like I'm missing something here, but I have this datagrid which when
This seems like such a simple requirement, that I feel like I am missing
I feel like I am missing something easy or stupid. This is the only
Ok, I feel like Im missing something really simple but here goes: This code
I feel like I'm missing something very, very fundamental, so, to avoid tearing out
I feel like I must be missing something completely obvious, but I don't see

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.