Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between java and jsp?

Tags:

java

jsp

  1. are java applets and jsp pages written in the same langue (java)?
  2. is java a language?
  3. Is java used for web or other things as well?

and what can it be compared to? i.e (c c++ c# php asp)

i really have no idea what it is

like image 313
Famver Tags Avatar asked Jan 02 '11 06:01

Famver Tags


People also ask

Is JSP similar to Java?

JSP, Java Server Pages, is also a technology similar to the Servlets and is used to create web applications. JSPs can be viewed as the extension of Servlets, as JSP is easier to maintain and provides more functionalities. Java Server Pages (JSPs) forms a fundamental part of the Java EE.

What is difference between JSP and Java Servlet?

Servlet is a java code. JSP is a HTML based code. Writing code for servlet is harder than JSP as it is HTML in java. JSP is easy to code as it is java in HTML.

What is JSP in Java used for?

It is used to create dynamic web content. In this JSP tags are used to insert JAVA code into HTML pages. It is an advanced version of Servlet Technology. It is a Web based technology helps us to create dynamic and platform independent web pages.

How is JSP called in Java?

Jakarta Server Pages (JSP; formerly JavaServer Pages) is a collection of technologies that helps software developers create dynamically generated web pages based on HTML, XML, SOAP, or other document types. Released in 1999 by Sun Microsystems, JSP is similar to PHP and ASP, but uses the Java programming language.


1 Answers

  1. Yes
  2. Yes
  3. It's a general purpose language, it's used for just about everything

Java is most similar to C#, they're both syntactically similar and get compiled to an intermediate language rather than native code (for Java, it runs on the Java Virtual Machine, for C# it's the Common Language Runtime). JSP is most similar to ASP.

Java's another programming language, it's also the world's most popular language. Try the wikipedia page for it

like image 148
Rafe Kettler Avatar answered Oct 04 '22 22:10

Rafe Kettler