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

The Archive Base Latest Questions

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

I just started reading the Java EE 6 Tutorial , and I’m a little

  • 0

I just started reading the Java EE 6 Tutorial, and I’m a little confused! I knew about JavaServer Pages (JSP), and even did some coding during my undergraduate studies. But now, in this tutorial, I don’t see anything about JSP.

Instead I read about Facelets, a new View Definition Framework (as it is described in this tutorial). I searched a little bit over the Internet to clarify the distinction between JSP and Facelets, and I came across with this post that helped me a lot (especially BalusC’s answer). But these terms are still a little unclear to me.

What is the difference between JSP and Facelets? Are Facelets going to replace JSP, or is it just a technology that works better with JSF (and if it’s the latter, why)? If they are different, when should I use each one of them?

  • 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-13T16:52:23+00:00Added an answer on May 13, 2026 at 4:52 pm

    As you can read from the tutorial,

    The term Facelets is used to refer to
    the JavaServerTM Faces View Definition
    Framework, which is a page declaration
    language that was developed for use
    with JavaServer Faces technology. As
    of JavaServer Faces 2.0, Facelets is a
    part of JavaServer Faces specification
    and also the preferred presentation
    technology for building JavaServer
    Faces based applications.

    Now, JSP is the standard view technology for the web. But when it comes to adopt JSF as a web framework, JSP doesn’t support all the features provided in JSF 2.0. Therefore, there was a need of some standard view technology to work with JSF 2.0. So, Facelets is just that.

    If you are not working with JSF at all, you don’t need to employ Facelets. You can go with JSP in that case. Or there are few other template frameworks, like FreeMarker, and Velocity. Moreover, some web frameworks, defines there own mark-up, like Struts2. So if you decided to go with Struts, using Struts mark-up is the way to go.

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

Sidebar

Related Questions

I have just started reading about ORMLite since I am interested in using it
I just started programming in C# and was reading about dividing your application /
I just started reading about JPA and its implementation in Hibernate. To understand the
I just started reading Michael Hartl's Ruby on Rails 3 Tutorial. He recommends using
Am just started reading view tutorial i used this link view tutorial in this
I've just started reading through Core JavaServer Faces, 3rd Ed. and they say this
I have just started reading about threading in C, using pthreads. I know that
We have a bunch of data on S3 (images) but just started reading about
I just started reading about literate programming and noweb - and I find it
I have just started reading about neural networks and I have a basic question.

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.