I am new to web develop, so I need to ask some question of JSP. I am just curious why JSP is used. Since as my understanding, JSON can handle all the works. JSP is a view presentation. But I think only apply ajax in client side definitely can solve the problem.
In web page, most contents should be static view, few part is dynamically changing. So apply an ajax methodology can let client side get a dynamic view easily. But use JSP used in this situation is kind of waster. Correct me if I am wrong.
So when does people use JSP? Any good example website of JSP? what is the advantage?
JSP isn't just page modification and stuff, its often combined with servlets and other back end technologies.
Think of this for example, let's say you need to display some information from a database? You probably could do it in JavaScript, but any client would be able to see your database Information, and manipulate queries and other naughty stuff.