First, I am not submitting any data to servlet to process. I want to show data in JSP file returned by servlet(of course! which fetches from databaseUtils since I am using MVC pattern).
So, I want to call servlet from JSP page, without using javascript. How do I do that?
Here is my project directory..
I am trying to call "View_Accountant.java" servlet form "view_accountant.jsp" jsp file.
If you do not want to use AJAX and JavaScript then you can call servlet first, set data calculated in servlet as request or session attributes and redirect to JSP. And in JSP extract data from request or session and show it or process it somehow.