Home » questions » what is the difference between java and jsp?

what is the difference between java and jsp?

2006-08-03 21:11:52, Category: Programming & Design

Answers

  1. the_justin

    On 2006-08-03 21:19:44


    jsp is a java file. when you run a jsp, the machine (e.g tomcat) will convert your jsp file to a .java file.
  2. doctor

    On 2006-08-04 08:32:58


    As Java is a Programming language you can use the Java to design data application software, Web applications , Embedded Circuit Programming and a lot more. It is like the VB programming lanuage but remember Java is a Platform Independent. Whereas Jsp uses the Syntax of Java Programming for Server Side Scripting. As you know that any Web Page is nothing but a collection of text thats why the Jsp is Designed which automatically renders the script code in the Text format.
  3. raj

    On 2006-08-04 09:09:46


    Java (Indonesian, Javanese, and Sundanese: Jawa) is an island of Indonesia and the site of its capital city, Jakarta. It is the most populous island, and one of the most densely-populated regions, in the world. The former site of powerful Hindu kingdoms and the core of the colonial Dutch East Indies, Java now plays a dominant role in the economic and political life of Indonesia. JSP is a three-letter abbreviation with multiple meanings, as described below: JavaServer Pages Java stored procedure Jackson Structured Programming JSP Records Japanese Surrendered Personnel Jacketed, Soft Point, a type of bullet. A Java stored procedure is a set of SQL statements, written in the Java programming language, grouped together as an executable unit. A stored procedure is a program that is kept and executed within a database server. The procedure is called from a Java class using a special syntax. When you call it, the name of the procedure and the parameters you specify are sent over the JDBC connection to the DBMS, which executes the procedure and returns the results (if any) back over the connection.
  4. sun

    On 2006-08-03 22:55:20


    As Java is a Programming language you can use the Java to design data application software, Web applications , Embedded Circuit Programming and a lot more. It is like the VB programming lanuage but remember Java is a Platform Independent. Whereas Jsp uses the Syntax of Java Programming for Server Side Scripting. As you know that any Web Page is nothing but a collection of text thats why the Jsp is Designed which automatically renders the script code in the Text format.
  5. npilbrow

    On 2006-08-03 21:20:01


    JAVA is a compiled programming language much like C++. The code is written and then needs to be put through a compiler to actually be generated into a program. JSP on the other hand is a script based language, that runs directly on an HTML page, and is treated as a list of instructions by the browser which reads it and displays the results, similar to how HTML works. the problem with JSP is that it is a client based script (intepreted by your browser) which means that there can be different results on different computers based on what browser or what settings are set on that particular computer
  6. Mohamed.Mansour

    On 2006-08-03 21:33:09


    hmm... I am amazed by the responses from above. JSP is a scripting language that is mixed up with JAVA + HTML We use the Java language to make JSP pages. JSP Stands for Java Server Pages. The use of them are Servlets, Java Beans, EJB's , etc. Usually, if a person wants to make a correct website using JSP, he would have a multi tiered archictecture. A person would let JSP be onnly consisting of HTML tag like snippets and code for instance struts or taglib. Then the underlying business logic will be within the javabeans and the controller would be the servlet which will act as an action pattern. You have to realize the JSP is java... But people usually use Struts to represent the JAVA in smaller understandable non coded form as templating. But originally Jsp uses Java! I coded Java Web Applications for some time now... So if you need more help, don't hesitate to contact me.
  7. raghava

    On 2006-08-07 05:17:28


    Java is a programming language lke c,c++. JSP is a web technology which uses Java and HTML.
  8. Diane M

    On 2006-08-03 21:18:14


    Java is a programming language, used to create applets (think of them as "little applications") that can be sent across a network and run on virtual machines, regardless of the platform. JSP is the generic version of Microsoft's ASP - active server pages. JSP is a way of writing interactive web pages, particularly those with the ability to access and display information from databases. The default language for ASP is VBScript (and yes, you may vomit now). The default language for JSP is javascript.
  9. 'Drew

    On 2006-08-03 21:16:53


    Script parser. Thats the difference.