Solved

What is the difference between Java and JSP?

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

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…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

809 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