This is a discussion on Javascript And Jsp Difference ? within the Java forums, part of the Programming Talk category; Java Script is a client side, browser interation language invented by Netscape. Java is a full out programming language invented ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Javascript And Jsp Difference ?
Java Script is a client side, browser interation language invented by Netscape. Java is a full out programming language invented by Sun. JSP really isn't a language at all...its a container for Java web scripting.
|
|
|||
|
Browser Scripting was introduced by the (now conflicting) Microsoft and Netscape - except MS picked up VBScript first and Netscape went on the lines of Java. We had a version called JScript - a purely microsoft invention. Of course, thanks to the W3C (WWW Consortium, for beginners...) its now ECMAScript, a global standard that most browsers follow.
Internet explorer still uses JScript, which has microsoft's little addons here and there, thereby making it nicely incompatible with other browsers... Java is the base for JSP, and you're quite right to say that JSP is not a language. JSP stands for Java Server Page(s), meaning its basically a web page written in Java! Have fun with your little cup of Java ![]() |
|
|||
|
JavaScript is used to carry out process that is not possible with HTML and CSS alone. JavaScript runs on client system and access server using xmlhttprequest. JSP is an extension Java and is used as a server side language. JSP code runs in server and final output appears in web browser.
|
|
||||
|
well other than the differences rightly stated above, the basic difference is that all Javascript, VBScript, JScript run at client side.. Whereas JSP runs at server side.. Just like ASP, PHP.
At the server side, a JSP is converted to a servlet which returns a HTML to the client. Hence JSP need a Java Application Server as against ASP, PHP which run on a normal web server.
__________________
techdeep.in |