Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace javax servlet classes with Jakarta servlet #224

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

madoxas
Copy link

@madoxas madoxas commented Dec 2, 2024

Fixes ring-clojure/ring#517

Note: This is a breaking change!

I'm open for suggestions, if there's a need to support both javax and jakarta servlets in the code.

@weavejester
Copy link
Owner

Thanks for the PR. This should be okay, as the javax servlets are deprecated in pretty much everything, and Lein-Ring is not 1.0 so there's no guarantee of backward compatibility. That said, if someone complains we can always put an option in to switch from one to the other.

Have you tested this change? Does it produce a war file that runs under a servlet container?

Also, can you change the commit message to:

Replace javax servlet classes with Jakarta servlet

This will make it consistent with the other commits in the repository.

@madoxas
Copy link
Author

madoxas commented Dec 2, 2024

Also, can you change the commit message

Done.

Have you tested this change? Does it produce a war file that runs under a servlet container?

Yes, tested on Tomcat 11. Works as expected.

@madoxas madoxas changed the title feat: replace javax servlet with jakarta Replace javax servlet classes with Jakarta servlet Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build uberwar with jakarta servlet
2 participants