Exforsys

Free Training

Javascript And Jsp Difference ?

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 ...

Go Back   Exforsys > Programming Talk > Java

Exforsys.com

  #1 (permalink)  
Old 04-21-2006, 07:12 AM
Member
 
Join Date: Apr 2006
Posts: 30
insane is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-27-2006, 03:23 PM
Member
 
Join Date: Apr 2006
Posts: 85
cbdarts is an unknown quantity at this point
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-07-2007, 09:08 AM
Senior Member
 
Join Date: Apr 2006
Posts: 144
caradoc is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-26-2007, 04:58 AM
adeepak's Avatar
Junior Member
 
Join Date: Jul 2006
Location: Pune
Posts: 5
adeepak is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-29-2009, 09:48 AM
Junior Member
 
Join Date: Jul 2009
Posts: 1
Ghana.sahoo is on a distinguished road
The basic difference between Javascript and JSP is that Javascripts is a scripting language which is mainly used for client side validation where as JSP is used as a server side language and in JSP Java code is directly embedded into HTML page with the help of special tags.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-30-2009, 08:14 AM
Junior Member
 
Join Date: Jul 2009
Posts: 2
Lispkaychaser is on a distinguished road
java has nothing to do with javascript
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 08-03-2009, 04:31 AM
Junior Member
 
Join Date: Jul 2008
Posts: 18
moonlight is on a distinguished road
JSP and JavaScript sounds similar because of the 'JAVA' in it but both are different and serves different purpose, firstly let me tell you about JavaScript
Javascript
- files are stored with a *.js extensions.
- it is used for modifying and creating web pages using DOM and other powerful features.
- it usually used as front end creation (web pages).
- used on the client side to trigger an action.

JSP (Java Server Page)
- files are stored with a *.jsp extension.
- it is used on the server side to generate web pages
- the action triggered by the client side using web page (created using JavaScript)are responded by the JSP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:17 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright 2004 - 2009 Exforsys Inc. All rights reserved.