-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Missing jetty-servlet 12.0.0 dependency & Migrate HttpServlet to Handler #10322
Comments
About Maven artifact changes, see: https://eclipse.dev/jetty/documentation/jetty-12/programming-guide/index.html#pg-migration-11-to-12-maven-artifacts We will update the documentation to reported as wrong, sorry about that. About migrating from Servlets to Handlers, see https://eclipse.dev/jetty/documentation/jetty-12/programming-guide/index.html#pg-migration-11-to-12-servlet-to-handler. About the POST problem, I think you have a problem on the client side, as Jetty won't convert POST request to GET. |
Thanks for response and the info. The client (Firefox) HTML was working fine with jakarta.servlet.http.HttpServlet version 11.0.15 version and was not changed. I think that a full working sample of Handler doing file upload will help (and not just me...) |
Closing as OP reports it is working for them. |
I am migrating to Jetty 12.0.0
I use Jetty as embedded.
In previous release, I use dependency:
According to the documentation (https://eclipse.dev/jetty/documentation/jetty-12/programming-guide/index.html#pg-server-http-handler-use-servlet)
There is now:
However, there is no such dependency at https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-servlet/
Am I missing something ?
The HttpServlet that I have is used to upload files from a web browser.
I am trying to move from HttpServlet to Handler.Abstract do the upload, but I am not getting any Post data only GET
The HTML looks this:
Those are the HttpFields that I get:
Again, am I missing something ?
Thanks for any response.
The text was updated successfully, but these errors were encountered: