difference between jsp and java script?




Answers were Sorted based on User's Feedback



difference between jsp and java script?..

Answer / shadow

Both of these are totally different things with nothing
common except the word "java". Javascript is a scripting
language that is interpreted by ur internet
browser.Javascript has nothing to do with the java
language, although it contains java in its name. As far as
its use is concerned, it is used mostly to validate the
user input on web forms. Also it is gr8ly used to change
the appearance of ur web page dynamically.
On the other hand, jsp is a part of java language and it
stands for java server pages. Server pages are the pages
that dynamically change their content according to the user
input(e.g when u login to hotmail or yahoo, it shows u ur
account after loging in). So jsp supports these dynamic
features and interaction with the databases.
Both of these are totally different things with nothing
common except the word "java". Javascript is a scripting
language that is interpreted by ur internet
browser.Javascript has nothing to do with the java
language, although it contains java in its name. As far as
its use is concerned, it is used mostly to validate the
user input on web forms. Also it is gr8ly used to change
the appearance of ur web page dynamically.

On the other hand, jsp is a part of java language and it
stands for java server pages. Server pages are the pages
that dynamically change their content according to the user
input(e.g when u login to hotmail or yahoo, it shows u ur
account after loging in). So jsp supports these dynamic
features and interaction with the databases....

$HADOW

Is This Answer Correct ?    8 Yes 0 No

difference between jsp and java script?..

Answer / vishu

jsp is server side language so it is run on the java
enabled server or any server like apatchi tomacat.
when u run the jsp page then every time page will refreshed
by the server

whre as Java scrip is a language which is used to perform
the validating task of the project it won't be refreshed by
the server rather than browser.

Is This Answer Correct ?    4 Yes 0 No

difference between jsp and java script?..

Answer / 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



More Core Java Interview Questions

different between exception and error? explaim check and uncheck exception

4 Answers  


We can write any Java Logics in our JSP. Then why we are using servlets(Controller Layer) to interact with the DAO ?

6 Answers   TCS,


Explain difference between final, finally and finalize?

3 Answers   Cognizant,


where exactly collections are usefull in realtime

2 Answers  


can any one tell me what is advantage of encapsulation

2 Answers  






Suppose there is a System A which gives some output. This output is used as input by system B. The rate at which System A produces is faster than the rate at which system B consumes it. How can you improve this?

1 Answers   RBS,


what is difference between validation.xml & validation rules.xml?

8 Answers   BirlaSoft,


Why do we need main method to execute a java program?

1 Answers   Virtusa,


What are uses of Hash Code?

2 Answers   Cognizant,


what is a thread?

13 Answers   SunGard, IBM,


write the hierarchy of component class?

1 Answers  


What is the smallest package in Java API?

5 Answers   iGate,






Categories