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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:28:53+00:00 2026-05-23T02:28:53+00:00

I have a simple maven web project. I simply can’t figure out a way

  • 0

I have a simple maven web project. I simply can’t figure out a way to have the JSTL tags work.
For testing purposes, I’ve created a dummy project having no dependency except for:

    <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>jstl</artifactId>
        <version>1.2</version>
        <type>jar</type>
        <scope>compile</scope>
    </dependency>

in my JSP page, I have the following test code –

<c:set var="hello" value="see this?"/>
<c:out value="${hello}"></c:out>
<h2>${hello}</h2>
<br/>
<%=request.getAttribute("hello") %>

I have also included the jstl declaration on the top –
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

However, this does not seem to work. Surprisingly, the ${hello} doesn’t show anything meaningful, but the request.getAttribute... does. This means that the c:set is actually working, and both the c:out and simple expression do NOT work. Am I missing out something here?

Any help is appreciated – been trying to get my head around this for 3 days now!

  • 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-23T02:28:54+00:00Added an answer on May 23, 2026 at 2:28 am

    The solution lies in checking out the info document on JSTL provided within StackOverflow. It mentions almost everything there is to know about why your JSTL installation may not be working properly.

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

Sidebar

Related Questions

This should be simple but can't figure it out. I have a web project
Currently I have a simple maven project that is building a jar file and
I have a fairly simple maven-ized Java project, but am having trouble getting my
Anybody who have a web project in maven with spring? I don't know why
I have a simple WAR project managed by Maven. I have the servlet code
I have a maven web module in my eclipse project. Is it possible to
I am running a simple hello world web server project with maven, jetty, scala,
I have a simple project with maven using the maven war plugin. When I
I made simple maven project and I opened it with Eclipse. I have installed
In Eclipse I have my Dynamic Web Project configured with Maven taking care automatically

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.