Hello everyone,
In my application i wish to get details from a database table.
So first there is a
jsp page on which the user will enter some data and on submission the results will be extracted from the database and displayed to the user in another jsp.
What I did :-
I created a jsp on which the user would enter the details and then on submit there would be an ajax call to a
servlet which would retrive the data and those data would be displayed on another jsp page.
What my team membr wants:-
to give a link to another jsp page instead of the servlet in the ajax call. The jsp would have the data retrieved abd displayed to the user.
My question is whether it is a good programming practise to call a jsp from jsp without any servlet? My team mate says that this would reduce the response time to the user.