On 8/12/2022 1:10 PM, Ralf Schneider wrote:
> one Question I have about JSP files: Are they old fashioned today as some
> people say or is this only one opinion from many others ?
>
> I will write web pages with Spring and I don't want to mix JSP files with
> thymeleaf/html pages.
JSP is an old technology. But it is also a somewhat foundational
technology for Java web development. I will claim that all Java
web developers should know JSP.
So you should definitely learn JSP. Whether you should use JSP
for a project will depend on the framework choice.
DIY framework: I would say go for JSP - it is simple and easy.
JSF: definitely facelet - JSP is officially obsolete and lots
of JSF stuff does not work with JSP.
Spring MVC: different people have different preferences - some
like JSP - some like Thymeleaf - you pick what you like (or
you pick what has already been chose if it is an existing
application).
Arne