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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:33:58+00:00 2026-05-13T20:33:58+00:00

It seems velocity and freemarker look fairly similiar, at least for basic usage. Anyhow,

  • 0

It seems velocity and freemarker look fairly similiar, at least for basic usage.

Anyhow, what is the “built in” or standard view framework called?
It looks like:

<c:if test="${someobject.property != null}">
  • 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-13T20:33:58+00:00Added an answer on May 13, 2026 at 8:33 pm

    That’s indeed JSTL. It’s however not builtin, but all you need to do is to just drop jstl-1.2.jar in the /WEB-INF/lib and declare one of its taglibs in top of the JSP page as per the TLD documentation, e.g. JSTL core:

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

    This way you can use the in the link listed tags. Most of the core tags are just flow control tags. JSTL also has XML and SQL taglibs, but they are intented for quick prototyping only and shouldn’t be used in real production. Then there is the Format (fmt) taglib which is great for internationalization and localization (i18n and l10n). Finally there is the useful functions (fn) taglib which provides simple EL functions.

    Then there are the ${} things. This is called expression language. It just accesses “backend data” (the attributes) in any of the page, request, session and application scopes in a Javabean like way with help of PageContext#findAttribute() and calling the Javabean getters. If you understand scriptlets, then you’ll understand the following example:

    ${user.address.street}
    

    which roughly resolves to

    <%= pageContext.findAttrubute("user").getAddress().getStreet() %>
    

    EL is nullsafe. When ${user} or ${user.address} resolves to null, then it will just skip it all and display nothing. In scriptlets you would have gotten a NPE on the nested calls or just plain null on the last call.

    Then there is the unified EL, denoted by the #{} syntax. It’s (as far) only used in combination with JavaServer Faces (JSF). It is able do to a call a Javabean setter on the last property. E.g.

    <h:inputText name="foo" value="#{bean.foo}">
    

    will behind the scenes roughly do like follows

    pageContext.findAttribute("bean").setFoo(request.getParameter("foo"));
    

    It’s by the way not a view technology. JSP itself is already the view technology at its own. JSTL is just a taglib. EL is just part of the JSP spec. The other view technology provided by Java EE is Facelets which is XHTML based and provides much more seamless integration for JSF than JSP does.

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

Sidebar

Related Questions

The net seems to be full of comparisons between Velocity and FreeMarker, and they
Seems like cuke doesn't show the full error message (at least when problem occurs
Seems like a standard approach for an ioc when given a scenario like (C#
How can I achieve i18n using a templating engine such as Velocity or FreeMarker
Dotcms does have a nice template system based on velocity, but it seems like
I am looking at the documentation of velocity, and it seems very straightforward. i.e.
Seems to be a problem that many people have, but all the answers I
Seems that This will be an easy question for you but this problem is
Seems like i need some help with a project. I have a routine ,
Seems I want to do the opposite of what most people ask for when

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.