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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T15:25:27+00:00 2026-06-06T15:25:27+00:00

I am downloading Sun/Oracle Mojarra implementation of JSF from http://javaserverfaces.java.net/download.html I downloaded the latest

  • 0

I am downloading Sun/Oracle Mojarra implementation of JSF from http://javaserverfaces.java.net/download.html

I downloaded the latest -2.1.9 binary. It comes with only one jar – javax.faces-2.1.9.jar.
I had a sample project which I believe is using the older 2.0 version, which includes 2 jars – jsf-api.jar and jsf-impl.jar.

I replaced those 2 older jars with the single new jar. It seems like the sample project still works well.

My question:

  1. Is there anything else I need to do besides replacing those 2 jars???

  2. Any special reason this is this changed from 2 jars to 1?

Thanks a lot.

MORE:

I noticed versions in my faces-config.xml

<?xml version="1.0"?>
<faces-config xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee  http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd" version="2.0">
</faces-config>

I changed 2.0 and 2_0 to 2.1 and 2_1. The sample project still works. SHould I make these changes?

  • 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-06T15:25:28+00:00Added an answer on June 6, 2026 at 3:25 pm

    Is there anything else I need to do besides replacing those 2 jars?

    No.


    Any special reason this is this changed from 2 jars to 1?

    Around the time of the release of 2.1.6, they’ve refactored the build system conform Java EE Maven rules. See also Mojarra issue 2028. This resulted in the two well known jsf-api.jar and jsf-impl.jar files being replaced by a single javax.faces.jar file.


    I changed 2.0 and 2_0 to 2.1 and 2_1. The sample project still works. SHould I make these changes?

    You can just do so. The only difference is that the faces-config 2.1 XSD definies two new elements as opposed to faces-config 2.0 XSD:

    • <facelet-cache-factory> to register a custom FaceletCache
    • <redirect-param> to specify request parameters for in a redirect navigation case.

    If you don’t need any of them, then it don’t matter if you’re using the 2.0 or 2.1 XSD. Mojarra 2.1 has internally no 2.0 fallback modus when using JSF 2.1 with a 2.0 XSD.

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

Sidebar

Related Questions

I am downloading zip file from web server using Java in my jsf bean.
Scenario Downloading an xlsx file to my local drive from a http location using
After downloading the trunk code from http://code.google.com/p/berkeleyaligner/ , I added the project into my
When downloading a rar file from the internet with the code below, the downloaded
I am downloading files from web server programmatically. After download is completed, I checked
When downloading file from server if i use a4j:commandLink file download fail(mean file written
I am downloading files from my server, saving them to device, and displaying them
I'm Downloading stock prices from Yahoo for the S&P500, which has volume too big
I am downloading some information from a JSON feed about countries, states and their
i am downloading an application in Android using the DownloadManager class. When the download

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.