Hi there
I am working on a web application In which I am comunicating between my
JSP page and Controller class and database.Let me explain my seneraio
1)I have a section called getAllNews I can get data first call to PageController->Page Controller call DAo and set Object is request->forward it to JSP->JSP parse using JSTL tags+Java Sccript
2)Call for front page to page controller->Page loaded->A AJAX Script will call to server and get the response of server side controller->Parse JSON using JAvaScript
Both way I can acheive same result.
My Question is IS there
1)will be any perfomance difference in two approaches?
2)Which approach is good in which seneraio?
Thanks