Is there any performance difference between writing java inside jsp?

Is there a performance difference between writing java inside jsp pages by embedding them in html (e.g. php and asp.net) and using controller classes and using a JSP page to render data?

+3
source share
1 answer

Both should be equivalent, since everything you wrote in JSP (the scripts that I mean) translates into a servlet class, so it will be equivalent. Of course, the difference will be in the quality of the generated code and the code that you wrote manually.

JSP-, , MVC JSP - .

+4

Source: https://habr.com/ru/post/1784890/


All Articles