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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:11:04+00:00 2026-06-09T17:11:04+00:00

I am cleaning up a build system for a product that uses Jetty. Currently

  • 0

I am cleaning up a build system for a product that uses Jetty. Currently the project has

javax.servlet.jsp:jsp-api:2.1

as a dependency. Given that I am using Jetty for my project I suspect using

org.mortbay.jetty:jsp-api-2.1:6.1.5

would be the better option. Am I right/wrong? Can they be used interchangeably? Does jsp-api-2.1 leverage a different implementation? Or is it simply a repackage if jsp-api to assert compatibility with Jetty?

I’ve been trying to find information about this on the web, so far nothing has come up.

Update: Seems like org.mortbay.jetty:servlet-api-2.5:6.1.5 and javax.servlet.jsp:servlet-api:2.1 have the same relationship.

  • 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-09T17:11:05+00:00Added an answer on June 9, 2026 at 5:11 pm

    Jetty has a long and colorful history with jsp, having no jsp implementation of our own we have leveraged other implementations often, judging by the version numbers your looking at those are very old versions where we were maintaining patches on top of the glassfish jsp implementation. I think it was a patch for supporting logging in jetty and then a bug fix or three.

    Now a days we have been using the jsp artifacts from the java.net project which was spun out from glassfish a while back. However that doesn’t seem to be tracking bug fixes very regularly either so we are kicking around trying the jasper implementation in tomcat.

    Back on your question, the jsp-api artifacts are typically just repackaged artifacts since the api doesn’t change frequently. We historically rebundled them to keep them paired with the patched implementation.

    Now, you are obviously using a jetty-6 setup since your still using org.mortbay packaging but jetty6 and jetty7 are both servlet-api 2.5 so you might be able to get away with using the jetty7 jsp setup, we have a handy pom that declares these artifacts here:

    http://central.maven.org/maven2/org/eclipse/jetty/jetty-jsp/7.6.5.v20120716/jetty-jsp-7.6.5.v20120716.pom

    These are glassfish bundles as well, repackaged and made into osgi bundles in the process so they can be used with jetty in osgi environments….they ought to work normally though, we package them in our jetty7 distributions.

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

Sidebar

Related Questions

Is there an easier way of cleaning up a database that has a ton
I was building an Ant build file that worked properly in my eclipse project
I am working on cleaning up a mess that another programmer started. The created
Eclipse is telling me: a cycle was detected in the build path of -project
I cleaned my project but after cleaning it doesn't generate R.java file. It is
I was 'cleaning up' a project and deleted some of the references to libs
I have a few constants files Constants.h in my project that I am including
In the process of cleaning up the folder/file structure on a project I inherited,
I had some files that I removed from my project. They don't show up
In my Xcode project, I've created a symbolic link script in the target that

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.