Solved

What is the difference between Java and JSP?

Posted on 2004-09-24
2
241 Views
Last Modified: 2010-04-06

Hi Experts,

What is the difference between Java and JSP?

Thanks
0
Comment
Question by:indyng
2 Comments
 
LVL 36

Accepted Solution

by:
Zyloch earned 125 total points
ID: 12148117
Hi indyng,

http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_21066539.html

JSP is just a subset of Java, as the above link says. There's bound to be some differences here and there, but it's kind of like ASP and VB. Java's the main boss, and JSP is just your average worker.

Regards,
Zyloch
0
 
LVL 4

Expert Comment

by:willcode4coffee
ID: 12179561
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@
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question