Regarding the cost of description when jsp or thymeleaf is introduced

Asked 2 years ago, Updated 2 years ago, 126 views

Nice to meet you.
I would like to ask you a question about the content of the title.

I heard that creating jsp based on html is a very difficult task.
First of all, I think the following points can be raised.
1.Conversion of html to jsp is difficult
2.Cannot be used as a mock

If you introduce thymeleaf, it can be written in a form close to html, so you can use it as a mock, and I think 2. will be solved.

What I am concerned about is the part described in 1.
When using jsp and
What is the difference in the cost of description if I use thymeleaf?

Thank you for your cooperation.

java html jsp thymeleaf

2022-09-30 10:37

1 Answers

This page will be helpful.

"If the ""description cost"" in your question means ""description amount,"" Thymeleaf can be written a little shorter, but I don't think there's much difference, as shown in the examples of 2 and 3 on page above."

"Even if ""description cost"" means ""learning cost,"" I don't think there's much difference between the two."There is not much difference in what can be realized, only different grammar.However, if a web designer who doesn't know Java handles it, I think Thymeleaf, which is closer to HTML and can be displayed in a browser as HTML, is easier.

If "descriptive cost" means "development cost" or "maintenance cost", Thymeleaf should be less expensive because, as stated in page above, it takes less time to review the results and display without Java logic.Even if it's less than half, it's less than half, and I think it's about 10 to 20 percent reduction (in my personal opinion).

The advantage of JSP is that it has a lot of knowledge and information on the web because of its history.

By the way

1. Conversion of html to jsp is difficult

However, it is easy to create JSP from HTML.All you have to do is change the extension from .html to .jsp.That may not be what I meant, but...


2022-09-30 10:37

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.