+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 2 people (100%) answered Yes
Recently 2 of 2 people (100%) answered Yes


is javascript &JSP ar same?

Jan 7th, 2009 11:30
vijay y, bhargavi Joshi, http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/

Java Script is client side program. It runs in the client browser, such 
as Internet Explorer. Since JavaScript runs on the client, it can't 
access server-side resources like databases. JSP (stands for Java 
Server pages) on the other hand is extensively used for dynamically 
generating a web page. Web pages containing shopping cart, product 
listings, etc. need to be dynamically created. Here the jsp web page 
interacts with the server side program, and dynamically creates the web 
page. Javascript, since it runs only in the client browser, does not 
have the ability to interact with the web server.