ekotze opened a new issue, #6156: URL: https://github.com/apache/netbeans/issues/6156
### Apache NetBeans version Apache NetBeans 18 ### What happened The following code gets generated when creating a new servlet with javax in. The fix is to change it to jakarta. import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; ### How to reproduce New FIle - Web - Servlet Choose package and continue. ### Did this work correctly in an earlier version? No / Don't know ### Operating System Windows 10 version 22H2 ### JDK jdk-17.0.7 ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else https://tomee.apache.org/javax-to-jakarta.html From javax to jakarta namespace ### Are you willing to submit a pull request? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
