Solved

What is the difference between Java and JSP?

Posted on 2004-09-24
2
239 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

896 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now