What is the difference between JavaScript, servlet and JSP?

Asked by Last Modified  

Follow 5
Answer

Please enter your answer

I'm having 10 +years of Experience in java /j2ee technologies working as a software Engineer

The main differnce between them is javascript is a scripting language runs in your browser, any brower (i.e, chrome, firefox).For the client side form validtion we can use javaScript.Where as Servlet and Jsp are both server side programs .Mostly JSP are used in View layer ,for example showing the data.Servelts...
read more
The main differnce between them is javascript is ascripting language runs in your browser, any brower (i.e, chrome, firefox).For the client side form validtion we can use javaScript.Where as Servlet and Jsp are both server side programs .Mostly JSP are used in View layer ,for example showing the data.Servelts are used as controller between JSP and database and user submited form's . read less
1 Comments

Java Trainer

Javascript: it is a client side OOPs based scripting language to make html page dynamic. Servlet: while servlets are java programs that runs on java enabled web server or application server. Jsp: It is a technology that helps programmers to create dynamic web pages. And it is a server side language...
read more
Javascript: it is a client side OOPs based scripting language to make html page dynamic. Servlet: while servlets are java programs that runs on java enabled web server or application server. Jsp: It is a technology that helps programmers to create dynamic web pages. And it is a server side language which uses java programming language. read less
Comments

IT professional trainer haveing 7 years of experience in DBS Bank,

java script is scripting language servlet and jsp is in java.it is used to develop the applications.
Comments

Precisely, consider the modern MVC architecture, wherein controller will be a Java servlet and the JSP is one of the popular view technology at server side and when it executed at server side it will be converted to its html equivalent content as it is understandable by most of popular web browsers and...
read more
Precisely, consider the modern MVC architecture, wherein controller will be a Java servlet and the JSP is one of the popular view technology at server side and when it executed at server side it will be converted to its html equivalent content as it is understandable by most of popular web browsers and dispatched to the web browser and rendered with any included JavaScript pages. JavaScript is a light weight scripting language as it provides a way of executing a coupe of dynamic functions on runtime/input data provided by user at browser end before submitting it to the backend server for further execution and at the same time the usage of JavaScript must be cautious as it is a possible trigger for a variety of vulnerabilities identified so far at client end. -Manikanta read less
Comments

View 2 more Answers

Related Questions

What is Constructor in Java?
A constructor in is a block of code similar to a method that's called when an instance of an object is created.
Ujwalajagdale
0 0
8
Why do many software engineers not like Java?
Opinions on programming languages can vary, but some software engineers may express dissatisfaction with Java for reasons such as perceived verbosity, boilerplate code, and a slower pace of language evolution...
Guruprasad
0 0
5
Write a programme to replace the string without using replace command? This is my string. ..... s is replaced by th output is Thith ith my thtring
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package logic; ...
Mithun

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Java Learning Tip
The easy way to learn any programatical language is just simple practices. Take a simple examples and practice daily one hour. And also go through the learning videos from youtube or somewhere else.

Comparable vs Comparator
java.lang.Comparable java.util.Comparator For comparing some other object with its own object. Ex. I am comparing myself to some other employee. Method signature is: int compareTo (T object). For...

1.3. Find the second largest element in an array.
public class Main { public static void main(String args) { int arr = {1, 3, 4, 6, 5}; int max = Integer.MIN_VALUE, secondMax = Integer.MIN_VALUE; for (int i = 0; i < arr.length; i++) { if (arr >...

What Is Applet & Its Life Cycle?
What is Applet & its life cycle?Applet is a Java programme that can be embedded into HTML page.Java Applet runs on the java enables web browsers such as Mozilla & Internet Explorer.Applets are...
I

Icreative Solution

0 0
0

Implementation: What Is JPA And JPA?
The basic Java framework to access the database is JDBC. Unfortunately, with JDBC, a lot of hand work is needed to convert a database query result into Java classes. JPA allows us to work with Java classes...

Recommended Articles

Before we start on the importance of learning JavaScript, let’s start with a short introduction on the topic. JavaScript is the most popular programming language in the world, precisely it is the language - for Computers, the Web, Servers, Smart Phone, Laptops, Mobiles, Tablets and more. And if you are a beginner or planning...

Read full article >

In the domain of Information Technology, there is always a lot to learn and implement. However, some technologies have a relatively higher demand than the rest of the others. So here are some popular IT courses for the present and upcoming future: Cloud Computing Cloud Computing is a computing technique which is used...

Read full article >

Designed in a flexible and user-friendly demeanor, Java is the most commonly used programming language for the creation of web applications and platform. It allows developers to “write once, run anywhere” (WORA). It is general-purpose, a high-level programming language developed by Sun Microsystem. Initially known as an...

Read full article >

Java is the most commonly used popular programming language for the creation of web applications and platform today. Integrated Cloud Applications and Platform Services Oracle says, “Java developers worldwide has over 9 million and runs approximately 3 billion mobile phones”.  Right from its first implication as java 1.0...

Read full article >

Looking for Java Training Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you