What is the difference between Java and JSP?

Everyday I’ve learned new things. I came across java2s.com website and read Java tutorials. There’re so many things to learn about Java compared to PHP. The Java language and its libraries are very complex; that’s why it has a broader usage such as building apps for devices, TV, Websites, applications…, you name it.

As Java is a Programming language you can use the Java to design data application software, Web applications , Embedded Circuit Programming and a lot more. It is like the VB programming lanuage but remember Java is a Platform Independent. Whereas JSP uses the Syntax of Java Programming for Server Side Scripting. As you know that any Web Page is nothing but a collection of text that’s why the Jsp is designed to automatically renders the script code into HTML/Text format.

The way you write classes and objects for both Java and JSP are totally different, too.