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
What is the use of default method in interface in java? Explain
How can I debug the Java security exceptions and AccessControlExceptions?
What is field name?
Which class represents the socket that both the client and server use to communicate with each other?
What is a method declaration?
When is finally block not called?
Is integer passed by reference in java?
What does escaping a character mean?
What is runtime polymorphism or dynamic method dispatch?
What is java life cycle?
What are default methods ?
Why is the main method static?
What is meant by tab pans?
What is the purpose of the system class in java programming?
How can we pass argument to a function by reference instead of pass by value?