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 9251427
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:41:45+00:00 2026-06-18T10:41:45+00:00

I created a JSF 2.0 Project using maven and made a hello.xhtml page .

  • 0

I created a JSF 2.0 Project using maven and made a hello.xhtml page . I did not include the jstl dependency but on my hello.xhtml page I am using jstl core tag by including this namespace “xmlns:c=”http://java.sun.com/jsp/jstl/core”.
And used the following tag which is working fine.

<c:set var="test"  value="${2000*2}"/>
#{test}

Now I am wonder that how is this happening, even I checked the generated war file as well and there is no jstl jar . Can anyone know that how it is happening.

  • 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-06-18T10:41:46+00:00Added an answer on June 18, 2026 at 10:41 am

    JSTL (and JSF!) are already provided out the box by Java EE web profile compatible containers such as Glassfish, JBoss AS, etc. They are only not provided out the box by barebones JSP/Servlet containers such as Tomcat, Jetty, etc.

    Apparently your target server is a Java EE web profile compatible container. This way you don’t need to provide JSTL (nor JSF!) yourself. Note that your Maven dependencies on that should be set to "provided" (as in, already provided by the target container). Usually just the javaee-api dependency is sufficient. It covers JSP, Servlet, EL, JSTL, JSF, CDI, EJB, etc..etc..

    See also:

    • Our JSTL wiki page – explains when to install JSTL or not
    • Our JSF wiki page – explains when to install JSF or not
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a web page that print some text using JSF I've added spaces
I created a JSF 2.0 project in Netbeans 6.9. I am starting using CDI.
Using Eclipse Helios, I tried to start a JSF based project. After having created
I'm working on a JSF 2.0 project using Mojarra, PrimeFaces and Tomcat 6.x, but
I am using eclipse to create my jsf project. I created my own components,
I am using JSF + PrimeFaces in my project. I have prepared a Maven
I'm trying to create a new project using tomcat 7.0.27 + JSF 2.1.7 +
Can anyone helpme how to create a rich calendar in JSF.The sample project created
I have created a JSF 2 page which uses Facelets to define the structure
i have created a demo application Using JSF & EJB 3.0 (Stateless session bean

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.