Link to home
Start Free TrialLog in
Avatar of indyng
indyng

asked on

What is the difference between Java and JSP?


Hi Experts,

What is the difference between Java and JSP?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Zyloch
Zyloch
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of willcode4coffee
willcode4coffee

Java is a development environment which is designed to run in the Java Virtual Machine (JVM). Straight Java applications are typically either console applications (no visual interface) or desktop applications. JSP is a subset of Java (as Zyloch pointed out), which means that it uses Java code. The main difference is that JSP is designed to output html pages to a browser, so therefore is designed to be a web server language. So if you are developing console applications or desktop applications, you would use Java. If you are developing web applications, you would use JSP. JSP is similar in concept to ColdFusion and ASP.Net since all are intended for web development with HTML output.

Hope this clears it up.

M@