You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "johny65 (via GitHub)" <gi...@apache.org> on 2025/05/28 16:08:05 UTC
[I] Support Jakarta Standard Tag Library 3.0 URIs in JSPs [netbeans]
johny65 opened a new issue, #8543:
URL: https://github.com/apache/netbeans/issues/8543
### Apache NetBeans version
Apache NetBeans 26 latest release candidate
### What happened
Currently the URIs for Jakarta Standard Tag Library 3.0 (this is from Jakarta EE 10, three years ago) aren't supported and the IDE shows an error when using them in a JSP:

This are the new URIs: https://jakarta.ee/specifications/tags/3.0/jakarta-tags-spec-3.0#multiple-tag-libraries
### Language / Project Type / NetBeans Component
JSP
### How to reproduce
Create new JSP and add the `<%@taglib ... %>` sentence with a JSTL 3.0 URI. The IDE shows an error with message "File [relative to JSP file]/jakarta.tags.[tag] not found.".
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Ubuntu 24.10
### JDK
OpenJDK Runtime Environment Temurin-23.0.2+7 (build 23.0.2+7)
### Apache NetBeans packaging
Apache NetBeans binary zip
### Anything else
Information on About:
Product Version: Apache NetBeans IDE 26
Java: 23.0.2; OpenJDK 64-Bit Server VM 23.0.2+7
Runtime: OpenJDK Runtime Environment 23.0.2+7
System: Linux version 6.11.0-14-generic running on amd64; UTF-8; es_ES (nb)
### Are you willing to submit a pull request?
Yes
--
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: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Support Jakarta Standard Tag Library 3.0 URIs in JSPs [netbeans]
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #8543:
URL: https://github.com/apache/netbeans/issues/8543#issuecomment-2952927453
@johny65 please provide a minimal example project.
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Support Jakarta Standard Tag Library 3.0 URIs in JSPs [netbeans]
Posted by "johny65 (via GitHub)" <gi...@apache.org>.
johny65 commented on issue #8543:
URL: https://github.com/apache/netbeans/issues/8543#issuecomment-2953160244
Just a JSP file is sufficient, but anyway here is a minimal example project:
[sample.zip](https://github.com/user-attachments/files/20641376/sample.zip)
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Support Jakarta Standard Tag Library 3.0 URIs in JSPs [netbeans]
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #8543:
URL: https://github.com/apache/netbeans/issues/8543#issuecomment-3448579763
I had a shot look at this. I experimented with upgrading the bundled JSTL and upgrading the JSP compiler to the most recent Jakarta version. My key takeaways:
- both the javax version of jstl and the jakarta version can be packaged in the same module
- Apache Jasper (the JSP compiler) is tied hard to the Servlet API
- So depending on the project we need to either call the javax version of jasper together with the javax jstl or the corresponding jakarta version
- the `javax.servlet.jsp` packages are used through out NetBeans and was considered a stable API. This needs to be abstracted to be able to switch implementations
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Support Jakarta Standard Tag Library 3.0 URIs in JSPs [netbeans]
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #8543:
URL: https://github.com/apache/netbeans/issues/8543#issuecomment-3478054859
@johny65 please have a look at #8976. That should take care of parsing jakarta based setups. A test/nightly build is available from the checks page for the next seven days. You can directly download it using this link: https://github.com/apache/netbeans/suites/48954433346/artifacts/4441900731.
I don't often use JSP features, so it would be great if you test this with new and old projects.
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Support Jakarta Standard Tag Library 3.0 URIs in JSPs [netbeans]
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing closed issue #8543: Support Jakarta Standard Tag Library 3.0 URIs in JSPs
URL: https://github.com/apache/netbeans/issues/8543
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Support Jakarta Standard Tag Library 3.0 URIs in JSPs [netbeans]
Posted by "johny65 (via GitHub)" <gi...@apache.org>.
johny65 commented on issue #8543:
URL: https://github.com/apache/netbeans/issues/8543#issuecomment-3496831248
It seems it's working fine, good job!
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Support Jakarta Standard Tag Library 3.0 URIs in JSPs [netbeans]
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #8543:
URL: https://github.com/apache/netbeans/issues/8543#issuecomment-3504969780
@johny65 thanks of testing! I did another pass, if nothing new comes up, I plan to merge to master in the not to distant future.
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Support Jakarta Standard Tag Library 3.0 URIs in JSPs [netbeans]
Posted by "johny65 (via GitHub)" <gi...@apache.org>.
johny65 commented on issue #8543:
URL: https://github.com/apache/netbeans/issues/8543#issuecomment-3480381391
Hi @matthiasblaesing, thank you for your work. I'll test it as soon as possible.
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists