Jsp instead of Servlet

0

I researched a lot but it was not very clear to me the following. Why can not I use JSP pages to connect to Database (Mysql for example) and return this data by an Ajax function eg to another JSP page that will display the data? Is this a matter of standardization or another reason? If I did a college job using JSP to query the DB would be considered wrong? Even if the application works 100%?

    
asked by anonymous 02.05.2017 / 17:48

0 answers