difference between jsp and java script?

Answer Posted / ankur pandya

When you run JSP, the web page has to call the server so you
will get a refresh on your page.

when you run Javascript the code runs on your computer via
the browswer so there is no refresh to your page.

Java and Javascript are completely separate languages and
have nothing to do with each other. A JSP, Java Servlet Page
is of the Java language

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create an immutable class?

756


Is string is a keyword in java?

735


What are new features introduced with java 8 ?

728


How can you generate random numbers in java?

765


What does percent mean in java?

784


What is fail first in java?

811


How to make a non daemon thread as daemon?

765


Why deletion in linkedlist is fast than arraylist?

755


What is function and its uses?

775


Why singleton is not thread safe?

758


What does || mean in code?

773


Is void a wrapper class?

717


What is collection class in java? List down its methods and interfaces.

714


Can a class have 2 constructors?

665


What is skeleton and stub?

756