The reason I'm asking is because I'm considering moving away from JSP to a template based framework such as Thymeleaf or Freemarker.
Junilu Lacar wrote:I don't see that there's any difference with respect to using AJAX or not. You can create responsive pages that use AJAX with JSP as well. The decision to move to an alternative to JSP is usually based on ease of use and suitability to certain team dynamics and less on whether the resulting web pages are more responsive or generate more or less network traffic. In fact, AJAX results in more calls to the server but less traffic overall if your pages are designed to display only parts of the data either way.
Sure yes and agreed that with JSP we can use AJAX as well but what I'm trying to state is if I need to return content say from a database (ie non static content) using JSP, the whole page can be generated and sent to browser as one response. Whereas if the page is written using HTML/JS and there are say 10 tables, I need to make 10 separate AJAX calls to populate those 10 tables. Just want to verify if this is the correct observation.