answersLogoWhite

0

Difference between JSP and JAVA Script?

Updated: 8/17/2019
User Avatar

Wiki User

13y ago

Best Answer

Hi,

1. JSP is a server side scripting while Javascript is as client side scripting language.

2. JSP also connects with database to fetch up the records from the database while javascript can be used for validate the code on client side.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Difference between JSP and JAVA Script?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Difference between ASP and JSP?

The main difference between ASP and JSP is that JSP is more script like and includes Java, whereas ASP does not. Both of these are server side languages.


What is the difference between JSP and JSPX?

http://diaryproducts.net/about/programming_languages/java/convert_jsp_pages_to_jsp_documents_jspx_with_jsp2x


Difference between java script and java server page?

JSP is a Java-based technology used specifically in order to help software developers create dynamic web pages; Java-Script is based on Java, but was created in order to allow non-programmers the ability to work with it easily.JSP must be compiled in Java byte-code in order to function properly; Java-Script is a Java language of a different dialect, and does not need to be directly translated into byte-code


How do you call servlet from java script?

You can do this if:The Java Script code is present inside a JSP pageThe JSP page is part of a J2EE applicationBy submitting the HTML Form the control would go back to the Servlet.


What is the difference between requestgetattribute and requestgetParameter in JSP?

request.getAttribute() is used on the Server side Java code to get values submitted from the form onto the Servlet or other java classes request.getParameter() is used on the JSP page to get values sent by the servlet and display it in the jsp page


What is the difference between JSTL and JSP?

The Difference between JSTL and JSP is that, JSP lets the person add embedded Java code into HTML pages. Also JSP allows the person to define their own tags. JSTL is just a standard tag library provided by Sun to carry out common tasks.


What is the difference between script and scriptlet?

"script" is an HTML tag used to include JavaScript on a web page. Example: <HTML> <body> <script type="text/javascript"> document.write("hi there"); // javascript interpreted by the browser </script> </body> </HTML> "Scriptlet" is a JSP construct used to include Java in a JSP page. Example: <HTML> <body> <% // this is a scriptlet response.getWriter().write("hi there"); // Java executed on the server %> </body> </HTML> Here the result (an HTML document with the text "hi there") is the same in both cases, but the mechanisms are different - Javascript runs in the browser (any browser), while the JSP scriptlet is executed on the server and needs a server with JSP support. See related links.


What is the difference between PHP and struts?

STRUTs is a framework of technology of java based on JSP/Java Servlets PHP is another server scripting language


Difference between jsp and php?

JSP stands for Java Server Pages whereas PHP stands for Hypertext PreProcessor. PHP is a scripting language whereas JSP is a full fledged technology. JSP is much more powerful and has more features than PHP


Why jsp in j2ee?

JSP stands for Java Server Pages. JSP is an integral part of any j2ee application. It handles the User Interface (UI) layer of any web based application. It has support to execute java code and also can use HTML and java script. The output of a JSP page is usually viewed in a web browser like Internet Explorer or Mozilla Firefox etc.


What are the applications of JSP web language?

JSP stands for Java Server Pages. It is a technology based on Java and similar to Servlets. It acts as the front end or user interface layer of Web applications. It takes advantage of HTML and Java Script and can contain code that involves both these technologies.


What are the JSP atrributes?

java server pages (jsp) are used for scripting on java side with the help a server .