Since I am new to realtime development I want to know what a demo web application consists of to process user's requests like the jsps and controller and Model part so that I can take it as like a example for my app.
It really depends on what kind of website you are building, what database your using, what data you are actually getting and posting.
If you build a bank app, you use certain logic, themes, and data while if you built some sports website with updated scores you'd gather different data.
While there is similarities, it really depends on what you are trying to build.
Building a sports website or even manufacturing website would rarely require mortgage rates, loan requests, massive amounts of numbers and calculations that a band application or stock app might use.
However, If you just want to gather some data and display it, all you need to do is look up some tutorials on google.
Create a simple web services like web app where you build a site and then update the stock reports.
Build some simple app where you connect to a database and grab reports or data and use the whole CRUD theory. Create, replace, update, and delete some data of that DB and then display the updates, changes and so on on the jsp or html page.