tags:

views:

47

answers:

3

will a java script javascript work without jsp?

+2  A: 

Yes. JavaScript runs in the web browser. JSP(JavaServer Pages) runs on the web server.

gnarf
The only condition I know that the browser should have JavaScript enabled.
Umesh Aawte
And you can check it using noscript tag in html
Umesh Aawte
A: 

JavaScript is not associated with the Java language. They both use C style syntax, but are radically different languages with no affiliation.

+2  A: 

javascript has absolutely nothing to do with jsp.

jsp is a server side technology, and use to write programs on the web server. The language used in jsp is Java.
javascript is a language on the client side (browser).

It is said:

Java is to javascript what car is to carpet.

On that note, we can safely conclude, javascript does not depend on the server side technology.

Cheers!

Here Be Wolves