JSTL not working in maven [message #1836300] |
Mon, 28 December 2020 12:51  |
Eclipse User |
|
|
|
No problem with servlet, but jstl is not working in a maven web project in eclipse.
I did the same servlet and jsp page in netbeans 12.2 chose maven wep project, so same exact code no difference works in netbeans, same tomcat server also.
And I tried many suggestions from stackoverflow post, I mean at least 15 stackoverflow post.
I even tried to add the tag libraries as "add external jars". did the "pom" thing like stackoverflow showed, etc.
Why doesn't jstl work? Must be an on going problem as there are many questions about it on the web.
I have done many "ant" projects in the past in eclipse and never encountered such a thing. The dynamic web projects just always worked. Never needed this forum til now trying to learn maven.
[Updated on: Mon, 28 December 2020 12:52] by Moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: JSTL not working in maven [message #1836429 is a reply to message #1836414] |
Sun, 03 January 2021 15:19   |
Eclipse User |
|
|
|
My code, meaning in the jsp:
<%@ page isELIgnored="false" %>
Is the only thing that worked.
Will Eclipse eventually have a create a "dynamic web app" based on jakarta instead of java? I am not new to java, but brand new to jakarta.
I'd like to practice a simple jakarta web app with a:
* jakarta bean
* servlet
* jsp
I am guessing I will have to wait on next version. Also I use tomcat, it seems tomcat 10 should run such jakarta apps.
I am referring to Jakarta bean (old java bean term), not EJB.
Hard to believe there's not already some good starter tutorials. When I first learned java years ago, there were a lot of tutorials.
Also, in the past I always used IDE default (ANT), but looks like jakarta requires maven, thus I am trying to learn maven.
Just trying to get up to speed. If you search Google for:
* javabean servlet jsp web app tutorial (many "java" results)
But changing it to:
* jakartabean servlet jsp web app tutorial
You don't find "jakarta" results, still java results. A couple of simple tutorials would be helpful.
[Updated on: Sun, 03 January 2021 16:09] by Moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.14475 seconds