working of JSP

In the previous example, we have seen that how to write JSPs and write java code inside it. If you have previously worked in Java, you know that in Java, everything is a class. But in JSP, we have not…